💾 Archived View for bbs.geminispace.org › u › jeang3nie › 4709 captured on 2023-11-14 at 09:30:51. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
Re: "I tried out Hare shortly after it was publicly announced..."
Honestly, in a lot of cases there probably isn't a good reason to do so. Particularly if you're comfortable in C. I do like certain features, and in particular it has actual error handling at the language level, but both are sufficiently minimalist that they're largely interchangeable. Which gives C the edge just based on portability.
Still, I think it's a good design and I'm glad it exists.
Aug 24 · 3 months ago
i certainly value that today more people are interested in safer languages, and that there are now languages and compilers everybody in the field heard of, that produce fast native code.
at the same time i have some envy (?) towards these newer and more known languages: people spoke about problems of older languages like c before, people designed good and modern and safe languages and not many heard of those till today.
alas i see that people are usually more aware of products that have big forces behind them: rust had mozilla and now many others, go has google behind its back, solaris-java,microsoft-c#, and even python might not be as widespread if redhat didnt choose it for some work.
so we had modula-2, we had modula-3, we had ada, oberon, component pascal (practically an oberon dialect), zonnon, some good pascal dialects.
but not many were even aware of those.
modula-2 was perfect replacement for c - low level, but safer, with modules and concurrency, complex numbers in the language.
modula-3 has features modern programmers often state they need: it has exceptions, oop, parallelism in the language. and it also produces native code, it is safe, there is a good compiler for unix (always has been) and it had a very lightweight but powerful ui toolkit called trestle.
we had modula-2 since late 70ies. ucsd pascal borrowed concept of modules in early 80ies.
but we still have memory related bugs in openssl, modules are just making their way to mainstrean c++ which already made some efforts to fix its problems with precompiled headers before.
so i value those languages and i wouldn't say that go is much better than oberon or modula-3.
i am glad go exists, and to me it is not about google, which doesnt use it much itself, it is more about rob pike: author of many modern innovative tech things including acme text editor inspired of oberon. so if i told someone to try oberon/modula/ada they would thin they never heard about it so they would not try. but they heard about go and learning go doesnt dound very crazy so i tell people to look at go.
I tried out Hare shortly after it was publicly announced and found it pretty cool then, but haven't gone back to it again until recently. It's got a really minimalist ethos, which I really like. I did have to patch the port on FreeBSD to get it to work there, but it was a single line added to config.mk. Hopefully the maintainer will act on it quickly. Dr Brian Callahan has it working on OpenBSD as well. It only supports open source operating systems, which I find I like. Currently working on...