this post was submitted on 09 Oct 2023
232 points (98.7% liked)

Open Source

38456 readers
83 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] stifle867@programming.dev 5 points 2 years ago* (last edited 2 years ago) (1 children)

http://timelessname.com/elfbin/

It's worth a read to have your mind blown about what you can do when you hand optimise assembly.

[โ€“] ElectricCattleman@lemmy.world 2 points 2 years ago* (last edited 2 years ago)

Great reads! Thanks for posting.

I think it would be neat if, as something gained popularity, more and more of it were re-written in optimized assembly. I mainly work in .NET, which performs fine for what it is, but there are some libraries like Dapper (which is a micro-ORM) which are written in IL, which is incredibly difficult to do but results in it being insanely fast compared to what you could do in purely managed .NET. I'm sure if it were written in assembly it would be an order of magnitude faster than that.