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

There’s nothing wrong with the CommonJS approach except that it’s not designed for static analysis (and whether that was really an issue is debatable). In Zig, it’s compile-time.


For starters being text based for what is supposed to be a systems language, that should support binary distribution.


Supporting binary distribution seems unrelated to the ways in which it’s “like JavaScript’s CJS”, especially in the context of this post about syntax.


Not really, because I expect to also have binary distribution of modules, as in systems languages like Modula-2, Mesa, Object Pascal/Turbo/Delphi, D, Ada,....




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

Search: