Live data from Hacker News

Viewing profile — irh

irh

HN member
Joined
Sat, May 16, 2020, 7:55 AM UTC
HN karma
53
Public activity
21 items

About irh

No profile information was provided.

Recent public activity

  1. comment
    Comment #43525771

    Haha well I'm sure if you put your mind to it you could create some madness in Koto! If it helps here's a git blame helper script I made for Helix (as an example of practical code …

  2. comment
    Comment #43525655

    Yes, I was missing a 'companion language' for Rust similar to Lua for C and C++, I tried Lua bindings and other Rusty scripting languages but felt like starting a new project would…

  3. comment
    Comment #43525638

    Yes that's essentially where it started, although it feels quite different to use now.

  4. comment
    Comment #43525605

    I can't imagine wanting a 2.0 release, I'd rather take longer to get to 1.0 to reduce the risk of needing it, and anyway I'd much prefer to aim for something like Rust's editions, …

  5. comment
    Comment #43522661

    Koto's dynamically typed, but optional type checks were introduced in 0.15: https://koto.dev/docs/0.15/language/#type-checks

  6. comment
    Comment #43522622

    Limited for now, Koto's main role as an embedded language has meant that I haven't had a need, but I would like to provide bindings for other languages at some point, and to enable…

  7. comment
    Comment #43522436

    In my tests it's been ~1.5-2x faster than Rhai, but Koto's still some way behind Lua in benchmarks so I'm not trying to make a big claim here (although that said one of the reasons…

  8. comment
    Comment #43518595

    What I've had in mind with Koto is that when I need strictness and precision I'll generally be using Rust, and Koto is more intended for another aspect of programming where I want …

  9. comment
    Comment #43518368

    Yes I would certainly hope so, you shouldn't need to know any Rust if you want to learn Koto. The guide assumes that the reader has some general experience with programming, but no…

  10. comment
    Comment #43518267

    Yes! I'm using it for adding commands to Helix. e.g. https://github.com/irh/dotfiles/blob/main/scripts/.scripts/t...

  11. comment
    Comment #43517878

    Yes that's right, they're checked at runtime (with the option to disable the checks if the performance cost is a concern) and failed checks simply throw exceptions. The hints aren'…

  12. comment
    Comment #43517776

    Yes it's named after the instrument, although I'm happy to hear about the Italo disco connection =)

  13. comment
    Comment #43517751

    Koto creator here, nice surprise to see this on HN so I'm a bit late to the discussion. Happy to answer any questions!

  14. comment
    Comment #38844283

    Support for >8 channels led me to use WavPack instead of FLAC.

  15. comment
    Comment #35081962

    > Roli (the company selling JUCE) I know it's tangential to the point that you're making, but JUCE was acquired by PACE in 2020.

  16. comment
    Comment #31501170

    Agreed, outstanding! I'm less conflicted about having music tools in the browser. Yes, it's less efficient, and there's more risk of dropouts, and there's less control over I/O, an…

  17. comment
    Comment #29612842

    Pre-omicron the vaccines were significantly slowing the spread of the disease. Post-omicron boosters are required to reach similar efficacy.

  18. comment
    Comment #29146464

    "100% of the 1%" is less nuanced than "99%".

  19. comment
    Comment #26852364

    It's already switched on nightly. https://github.com/rust-lang/cargo/pull/9298 https://doc.rust-lang.org/nightly/cargo/reference/profiles.h...

  20. comment
    Comment #25505943

    I've been working on Koto which is intended for this kind of use case. I've been thinking about extending Rust applications with scripting, and I have games in mind but more genera…

  21. comment
    Comment #24155133

    Rust's macros aren't hacky though? I would understand this point better if you were talking about C's macros, but macros in Rust are hygienic so don't suffer the same pitfalls.