Hacker Newsnew | past | comments | ask | show | jobs | submit | numeromancer's commentslogin

I think the creators did it a disservice to xmake when they tried to unluaize the syntax. You can also do:

    target("foo", {
      kind = "binary",
      files = { "src/*.cpp" },
      includedirs = { "src" },
      defines = { "FOO", "BAR=BAZ" },
    })
which suits Lua better. Unfortunately you cannot do

    target {
      name = "foo",
      kind = "binary",
      files = { "src/*.cpp" },
      includedirs = { "src" },
      defines = { "FOO", "BAR=BAZ" },
    }
which would be the lua-est lua of all.

It also supports this syntax.

    target("foo", {
      kind = "binary",
      files = { "src/*.cpp" },
      includedirs = { "src" },
      defines = { "FOO", "BAR=BAZ" },
    })
https://xmake.io/guide/project-configuration/syntax-descript...

That's what I meant: the first you can do, the second, not.

"photos of giants that built the pyramids in Egypt, all the way to short videos of pretty girls saying that the EU is bad for Poland."

Those sound funny; why would they make you sad?


Because of the intention and purpose of those, not because of the actual pixels your brain interprets.

I focus on peer-to-peer services, as I think it is the most important focus for free software:

- Radicle - IPFS - torrents and magnet links - i2p - syncthing - PeerTube/ActivityPub

&al


"allows them to have more resources to invest in patient care" LOL


lmao even


PW;DR: Pay-Walled; Didn't Read. But...

Will this be the stuff of the housing of tomorrowind?


> will likely not be a major boost for software productivity

You can make plastic knives much faster and cheaper than metal ones. Production!


It failed to catch on outside the defense industry because that is where is started. It was long sneered at as a "language designed by committee".

In one programming class, in college, we used a text-book called "Oh my, Modula 3!". On the back they explained the title, saying "better 'Oh my, Modula 3!' than 'Oh no, Ada!'".


You mean, "Oh My! Modula-2!", not 3.

The title of that book was chosen as a reference to a previous book titled, "Oh! Pascal!".


Yeah, people have explained to me here before.

It's just too bad, because Ada looks like a language that should have gotten more popular. I was playing with some of the concurrency constructs built into it, and it was fairly pleasant, and it makes me think about the "what if?" universe where it caught on instead of C++ dominating the 90's and 2000's.


ASCII makes up 90% of all digital text; UTF-8 makes up the other 90%.


Just no.

    address = X
    length = *X
    address = address + 1
    while length > 0 {
        address = address + 1
        print *address
    }


Author here. You're quite right that this isn't the thing you would normally do. I'm just trying to help people work through the logic of the system with as few dependencies as possible, hence this (admittedly yucky) piece of pseudocode which isn't really C or Rust or Python or anything...


At least update "length" for the for loop since it would go into an infinite loop the way it is now in any of those languages.


I am not waiting for Janet for Ethereals. Once it ships, it will always have been available.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: