logoalt Hacker News

Chibil: A C compiler targeting .NET IL

25 pointsby algorithmsRcooltoday at 3:46 PM2 commentsview on HN

Comments

whizztertoday at 5:27 PM

The CLR model has always had support for instruction to support the C/C++ language, compile plugins or similar once and load/run on multiple platforms should be possible.

However, iirc there might've been some issues with libraries making the cl /clr code unportable (don't quote me on that though), starting from scratch might yield a better result if one just wants to run C code everywhere.

pjc50today at 5:09 PM

Note that Microsoft "cl /clr" also does this. It's a bit of a niche use case.

show 1 reply