News for hackers. Stuff that matters.
Re:Exploring Polymorphism in C: Lessons from Linux and FFmpe... by jeroenhd on Sunday March 09, 2025 @07:42PM (#43315133)
For those wishing Java had a similar feature, there's Manifold: https://github.com/manifold-systems/manifold/tree/master/man...

Manifold is a very interesting project that adds a lot of useful features to Java (operator overloading, extension classes, and a whole bunch more). I don't know if it's smart to use it in production code because you basically go from writing Java to writing Manifold, but I still think it's a fun project to experiment with.

Re:Exploring Polymorphism in C: Lessons from Linux and FFmpe... by sitkack on Sunday March 09, 2025 @10:25PM (#43316378)
http://manifold.systems/

> Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

Neat tool. It is like having a programmable compiler built into your language.