Coder Social home page Coder Social logo

Comments (6)

steveisok avatar steveisok commented on June 20, 2024

@akoeplinger @fanyang-mono I think the readme should at least be updated. Do you think we can have an ILStrip replacement in .NET 9?

from runtime-assets.

fanyang-mono avatar fanyang-mono commented on June 20, 2024

If the functionality of writing a modified assembly to file and validating the new assembly are implemented, then probably yes.

from runtime-assets.

lewing avatar lewing commented on June 20, 2024

what is the status here?

from runtime-assets.

steveisok avatar steveisok commented on June 20, 2024

This one is tough because modern cecil rewrites tokens and aot images rely on exact values. Here's what I see our options are in .NET 9:

  1. An API like dotnet/runtime#30443 lands and we're able to use it

  2. @vargaz does something creative with the ILStrip tool emitting a remapping table and the runtime uses it to remap

  3. We do nothing until an adequate API lands

from runtime-assets.

lewing avatar lewing commented on June 20, 2024

cc @vitek-karas

from runtime-assets.

akoeplinger avatar akoeplinger commented on June 20, 2024

Another (cheap) option that we discussed is using the functionality @fanyang-mono introduced in IlStrip which zeroes out method bodies for all methods instead of a subset, this feature only relies on SRM. It'd make the binary size on disk larger but the compressed size probably stays similar.

from runtime-assets.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.