I like to introduce you to matrix spaces for two languages, one is old and mature, and the other is new, effective, and promising.

#clang:bsd.cafe The C programming language

Rooms:

#hare:bsd.cafe The Hare programming language

Rooms:

  • UpperBroccoli@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Hare seems interesting, but does it allow any kind of dynamic linkage? I just compiled a simple Hello World program, and its size is 217 kb - after stripping.

    $ cat test.ha
    use fmt;
    
    export fn main() void = {
            fmt::println("Hello world!")!;
    };
    
    $ file test
    test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
    $ ls -lhn test
    -rwxr-xr-x 1 1000 1000 217K Feb 27 18:03 test
    
    
  • Toda@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Hare is interesting.

    We have a community for it on this instance, here. But it’s currently dead and unmoderated.

    • agent_flounder@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      It does look interesting—because it is boring—as one of the blog entries talks about. :)

      The goal seems to be stability and simplicity. A language with few features that remains mostly unchanged for the long term, to write simpler programs that can be counted on to do what they’re supposed to for the long term.

      I like it. I will have to give this a whirl.