3 ms·
In theory, sure, but there's no way Hare is going to ever officially support Windows. Even if the compiled backend supports the target, the language still needs
by packetlost 4mo ago
In theory, sure, but there's no way Hare is going to ever officially support Windows. Even if the compiled backend supports the target, the language still needs to abstract over the OS interfaces and implement syscalls.
- avadodin 4mo agoI'm not familiar with the language but if it targets libc, it might be easily able to work with MINGW. There are mingw/native versions of most popular libraries.
- torginus 4mo agoThe whole point of Hare is to be a part of a modern computing environment that offers most of the creature comforts of modern computing, yet is small enough to be understood by one person.
- avadodin 4mo agoThis doesn't clarify much. The Linux kernel ABI, while stable, is not simpler than libc and not portable at all. You can build the modern computing environment on mingw. However, if they chose to target Linux–only to show how low–level Hare is, that's understandable as well —no shade. To take it to its logical conclusion, they're saying libc will be a package you install on your Hare/Linux system for compatibility with obsolete systems, which to me implies willingness to work on ports to other platforms —you're not going to replace libc otherwise.
- packetlost 4mo agoIt is not libc based.
- GoblinSlayer 4mo agoIsn't libc mandatory on OpenBSD?
- avadodin 4mo agoThere was an article linked on here or lobste by an OpenBSD dev showing how to make your own "libc". The main issue on that OS is that it is neither ABI or API stable.
- packetlost 4mo agoIt looks like they do link to libc on OpenBSD hosts, but other hosts directly invoke syscalls