4 ms·
I have been thinking about creating a little higher level language that targets server side web assembly. Zig looks very attractive, but concerned with how to h
by ledgerdev 4y ago
I have been thinking about creating a little higher level language that targets server side web assembly. Zig looks very attractive, but concerned with how to handle things like strings and datetimes.
How suitable is zig for such a task compared to say rust?
- pacaro 4y agoI may be misunderstanding you, but it feels like strings and datetimes are library related more than language related. I know that higher level languages will have primitives that aim to represent strings, but if you need to get into the weeds with Unicode then you'll be leaning on a library regardless
- ledgerdev 4y ago> I may be misunderstanding you, but it feels like strings and datetimes are library related more than language related. Yes would agree and see them as platform related. It's just too large a task to create from scratch. Like say on JVM you can compile to bytecode and have strings already built into platform, and java.time, and ability to access an ecosystem of libraries. With zig could one could use c or rust libraries?