Live data from Hacker News

Viewing profile — atilaneves

atilaneves

HN member
Joined
Thu, Dec 05, 2013, 4:55 PM UTC
HN karma
692
Public activity
255 items

About atilaneves

No profile information was provided.

Recent public activity

  1. comment
    Comment #47148874

    > You don't need Emacs Yes, I do.

  2. comment
    Comment #46991928

    > and lose access to most things What "most things" are these?

  3. comment
    Comment #46991908

    No, you can just write D. It'll have the same performance as C, if you write C-like code. It might have better performance than C if you use templates (just like in C++).

  4. comment
    Comment #46229235

    Yes, that's my point. I'm replying to claims that "if it compiles it probably works". My limited experience with both is "nah".

  5. comment
    Comment #46229228

    Because it is also possible to write tests that don't adequately capture real-life requirements. It was an MQTT server, and the tests basically went "if we have these subscriptions…

  6. comment
    Comment #46216710

    Every language with a GC drastically reduces the chance of memory errors.

  7. comment
    Comment #46216701

    I hear this about both Haskell and Rust, and yet, when I tried both in the former I wrote a useless program because I didn't handle state (and yet passed all tests!) while in the l…

  8. comment
    Comment #46216657

    I made the same comment last week upon learning of a redis clone entirely vibe coded in IIRC ~70k lines of Rust. Why Rust? Why does a computer need a memory safe language?

  9. comment
    Comment #41056759

    I'm still figuring out why anyone would want to write a shell script in C. That sounds like torture to me.

  10. comment
    Comment #39864872

    Wouldn't the instance state here be "was constructed"? That is: you should always be able to call `Read` because the constructor opened the file, and you shouldn't have to call `Cl…

  11. comment
    Comment #39001684

    I just posted on the forum about it, I didn't do it before because of surgery (I'm still nowhere near 100%). What changes would you like to see happen?

  12. comment
    Comment #38998977

    FWIW, I just posted this on the D forum: https://forum.dlang.org/post/vwnefgsszqxobssylhmc@forum.dlan...

  13. comment
    Comment #37833142

    Proof of the fact that this works is that D does exactly this.

  14. comment
    Comment #28287715

    > What do you think, is there a potential niche for like NeoEmacs, a test editor written in a modern Lisp / Scheme I think that's a non-starter because you instantly lose the entir…

  15. comment
    Comment #26548517

    Switzerland has a population of 8.6M, isn't part of the EU, and yet... The problem there has been getting enough doses delivered.

  16. comment
    Comment #26224358

    If the array fits in the cache, deleting from the middle of an array and copying all the subsequent elements one to the left is actually faster than a linked list. And most arrays …

  17. comment
    Comment #25820266

    dpp* can't do function definitions yet but for declarations it's as easy as #including a C header file natively. * https://github.com/atilaneves/dpp

  18. comment
    Comment #24565874

    I think you missed the point where they mentioned you can change any and all keybindings in Emacs.

  19. comment
    Comment #23427618

    1. That's a rare use case 2. There are ways of measuring that without hampering readability. I mean, are programmers supposed to add all the variables' sizes up in their head??

  20. comment
    Comment #23427552

    And yet, it's worse than both.

  21. comment
    Comment #23427524

    > Source code is for humans The reason why making the scope as local as possible is important is for humans , not compilers. > Put all the vars at the top to tell the humans "here'…

  22. comment
    Comment #23165974

    That would be satan's language.

  23. comment
    Comment #23089741

    No need to imagine, it happens all the time in D, and it's not that bad.

  24. comment
    Comment #23078839

    Simple is better. People however tend to not agree on what's simple.

  25. comment
    Comment #23007432

    Not really - the concrete type isn't important, but what you can do with it is. One could argue that instead we'd use a concept in place of `auto`, and Bjarne has argued exactly th…