GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Taylan (Now 18% More Deranged) (taylan@fedi.feministwiki.org)'s status on Wednesday, 08-Jan-2025 17:25:10 JST Taylan (Now 18% More Deranged) Taylan (Now 18% More Deranged)
    I want a language that's similar to #Java but can be compiled natively.

    #Go is under corporate control and has a weird obsession with static linking if I'm not mistaken, though this may be fine for certain applications... In fact, in Java you'll often create a "fat JAR" that contains all dependencies so... Still, something is off about Go's vibes. Yeah, I'm vibe-checking programming languages now. Sue me.
    In conversation about 5 months ago from fedi.feministwiki.org permalink
    • Embed this notice
      Tobias Frech (tobiasfrech@ijug.social)'s status on Wednesday, 08-Jan-2025 18:37:16 JST Tobias Frech Tobias Frech
      in reply to

      @taylan If you want to keep the benefits of #Java you might want to look into Native Image of #GraalVM or #Quarkus

      In conversation about 5 months ago permalink
      Taylan (Now 18% More Deranged) likes this.
    • Embed this notice
      Єнотик 🦝 Погроміст (driversti@twiukraine.com)'s status on Wednesday, 08-Jan-2025 18:37:26 JST Єнотик 🦝 Погроміст Єнотик 🦝 Погроміст
      in reply to

      @taylan how about making native images with #GraalVM ?

      In conversation about 5 months ago permalink
      Taylan (Now 18% More Deranged) likes this.
    • Embed this notice
      Taylan (Now 18% More Deranged) (taylan@fedi.feministwiki.org)'s status on Wednesday, 08-Jan-2025 18:58:37 JST Taylan (Now 18% More Deranged) Taylan (Now 18% More Deranged)
      in reply to
      • Tobias Frech
      @TobiasFrech Apparently Graal is written in Java. Do you happen to know what its bootstrap story is? As far as I know, even OpenJDK is notoriously difficult to bootstrap from scratch. This makes me worried about supply chain attacks (not sure that's the right term).
      In conversation about 5 months ago permalink
    • Embed this notice
      Tobias Frech (tobiasfrech@ijug.social)'s status on Wednesday, 08-Jan-2025 19:24:04 JST Tobias Frech Tobias Frech
      in reply to

      @taylan OpenJDK is the upstream source project. There are many (!) distributions, which provide certified Java runtimes. For the Adoptium project I do know they care a lot about reproducible builds, SBOMs and supply chain in general. As do others!
      I do not know what the "building from scratch" story for GraalVM is. But you can end up with native build of your Java program, which does not need a runtime environment anymore.
      Quarkus is a mostly RedHat funded project. As such it is also OSS.

      In conversation about 5 months ago permalink
      Taylan (Now 18% More Deranged) likes this.
    • Embed this notice
      Taylan (Now 18% More Deranged) (taylan@fedi.feministwiki.org)'s status on Wednesday, 08-Jan-2025 20:37:41 JST Taylan (Now 18% More Deranged) Taylan (Now 18% More Deranged)
      in reply to
      Maybe #OCaml is the language I want. You can create standalone binaries with it, right?

      Hmm, looks like it's kind of like C by default, meaning you would need shared libraries present on the target system, and unlike C there's no direct support for linking everything statically, though it's possible apparently:

      https://ocamlpro.com/blog/2021_09_02_generating_static_and_portable_executables_with_ocaml/
      In conversation about 5 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: ocamlpro.com
        Generating static and portable executables with OCaml
        from Louis Gesbert
        Distributing OCaml software on opam is great (if I dare say so myself), but sometimes you need to provide your tools to an audience outside of the OCaml community, or just without recompilations or in a simpler way. However, just distributing the locally generated binaries requires that the users ha...
    • Embed this notice
      Taylan (Now 18% More Deranged) (taylan@fedi.feministwiki.org)'s status on Wednesday, 08-Jan-2025 20:42:03 JST Taylan (Now 18% More Deranged) Taylan (Now 18% More Deranged)
      in reply to
      I should write some kind of application in a bunch of different programming languages to get a proper taste for them. Hmm, maybe an IRC bot.

      Writing an IRC bot means you get to see whether the language can easily be used for "real-world" use-cases (TCP/IP networking and filesystem access being typical litmus tests IMO), it lets you see how well you can mangle strings and bytes and work with Unicode in the language, and you can work with a couple data structures like to make the bot remember things. You can make it extensible with additional feature modules to test how well things compose in the language.
      In conversation about 5 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.