Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> And worse, what if the language omits crucial features that are present in C? Features that C advanced programmers rely on?

Seems like this might be a good place to ask: which of the C replacement languages mentioned (or not mentioned) support inline assembly? Do any of them do it better than GCC/Clang? For me, I feel like the ability to drop to assembly in a pinch is a necessary feature. I'm sure I could technically get by linking an external file, but I'd be more interested in a language with inline ASM support than one that doesn't allow it. Thanks!




Do you happen to know if is also true for the C replacement languages mentioned in the article: C3, Zig, Odin, Jai and eC?


C3: Currently being looked into https://github.com/c3lang/c3c#current-status

Zig: https://ziglang.org/documentation/master/#Assembly

Odin: Looks like it's a dead language, but it was on the docket. https://github.com/odin-lang/Odin/blob/master/misc/roadmap.m...

Jai: https://github.com/Jai-Community/Jai-Community-Library/wiki/...

eC: No clue. Not a great name for googling.


Odin is pretty much alive to JangaFX customers,

https://jangafx.com/


Yup, I was just wrong on this. Their git project just got a commit yesterday. IDK what I was looking at that made me think it was defunct.



Zig seems to as well, though I haven't looked closely enough at any of them to see if the support goes beyond x86/x64 (or even ARM).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: