Announcement

Collapse
No announcement yet.

Alpine Linux 3.12 Released With D Language Support, MIPS64 Port

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by RushPL View Post

    Not true. Alpine is used in the context of docker, in order to build minimal containerized applications. Any cloud D application will benefit from ability to run on Alpine.
    Dlang has been used for microprocessor / bare metal programming for almost as long as the language has been around.
    Here is a talk from DConf 2014 about it (there's slides and a youtube video): https://dconf.org/2014/talks/franklin.html
    Another one from the same conference: https://dconf.org/2014/talks/ruppe.html
    Other people have experimented with it as well, e.g.: https://github.com/denizzzka/D_minimal_Cortex-M3

    And while it comes with a runtime by default, you can use `-betterC` (or some of the alternatives switches on LDC / GDC) to prevent usage of it and get a pay-as-you-go experience.

    Comment


    • #12
      Originally posted by Larry$ilverstein View Post

      musl libc is awesome for static linking and embedded, but using it on bigger machines is just throwing away performance for no good reason. The arch-specific implementations of memchr(), memcpy(), etc. in glibc are so much faster than musl it's not even funny.
      Musl is fine for static linkingiin rust as well - I use quite often - but to make it fast, one has to use e.g. jemalloc instead of musl's version.

      glibc's allocator is quite good nowadays so that jemalloc doesn't have any advantage here for me. But musl is something completely different.

      Comment


      • #13
        Here's hoping they fixed this DNS issue https://github.com/gliderlabs/docker-alpine/issues/476

        Thread said it got fixed in 3.11, but I still experienced it. That was months ago though, not gonna go back and revert the changes I did to get my setup working, just to test this.

        Comment


        • #14
          Originally posted by oleid View Post
          Musl is fine for static linkingiin rust as well
          Rust is dogshit. How can people turn a comment about libc into more tiresome Rust advocacy?

          Comment


          • #15
            Originally posted by Larry$ilverstein View Post

            Rust is dogshit. How can people turn a comment about libc into more tiresome Rust advocacy?
            How was this advocacy? Get a life!

            Comment


            • #16
              Last edited by Larry$ilverstein; 31 May 2020, 05:58 PM.

              Comment


              • #17
                Originally posted by Larry$ilverstein View Post
                What a childish way to terminate any discussion. Meanwhile, people with a clue about software development are happily linking their software with jemalloc to fix their performance issues with alpine thanks to the insights I shared

                Comment


                • #18
                  Cool insights bro.

                  Comment

                  Working...
                  X