Hacker News

Favorites Setup
Comment by pjmlp | original | Things That Turbo Pascal Is Smaller Than (2011)
[−]pjmlp · 2026-11-15 Sun 18:08 UTC · link
You are missing J++, several C# features were born in J++, e.g. P/Invoke was J/Direct.
[−]ak39 · 2026-11-15 Sun 18:30 UTC · link
Wasn't C# just a rebranding of J++ after the Sun Java trademark lawsuit?
[−]pjmlp · 2026-11-15 Sun 18:57 UTC · link
Nope, J++ was on the Microsoft JVM, whereas C# was on top of a full new runtime.

However the language extensions that were the reason for the lawsuit did indeed transition from J++ into C#, with J# being J++ on top of .NET for easing code porting.

The features were events, J/Direct (later P/Invoke on .NET), COM interop (later RCW/CCW on .NET), and Windows Foundation Classes (later Windows Forms on .NET).

Thanks to the good work of internet archivists,

https://archive.org/details/microsoftvisualj00micr

https://download.microsoft.com/download/1/6/d/16d24ada-5317-...

https://www.microsoft.com/en-us/download/details.aspx?id=559...

The irony is that two decades later Microsoft has an OpenJDK distribution, and they were the ones that initially provided the ARM port for Windows.

https://www.microsoft.com/openjdk

https://www.zdnet.com/article/microsoft-completes-phase-one-...