top | item 33962694

(no title)

nickcoury | 3 years ago

When Web Sockets were still not finalized, I was writing a C# program using them but there wasn't a functional library available. There was however a nice open-source Java implementation. I copied it into Visual Studio, changed all the file extensions, and spent half an hour hitting build then fixing syntax and import red squigglies. It eventually built successfully and happily sent data to a NodeJS front end for years.

discuss

order

avidphantasm|3 years ago

Nice. C# did start off life as Java with the serial numbers filed off…

superdisk|3 years ago

Cool. I did something similar with an old C program from the 80s by Peter Langston called Riffology, which was the algorithm used to generate the procedural music in Ballblazer.

I pasted the C files into Eclipse, deleted some `register` keywords, made a bunch of tweaks, and it ran fine as Java.

pkphilip|3 years ago

I did something similar as well