Richard Feldman, "Pushing Boundaries with Roc"

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 23

  • @peacememories
    @peacememories 2 года назад +14

    One small thing about async behavior in Rust; Depending on the implementation of get_movies, it might also only start the request once the Future is polled (Rust supports push as well as pull behavior for Futures). What that doesn't change, though, is that there are still side effects instead of type encoded effects.

  • @airman122469
    @airman122469 Год назад +1

    “The compiler can always infer the type.”
    Whoa. That’s pretty cool.

  • @anderdrache8504
    @anderdrache8504 2 года назад +3

    Great talk, I'm looking forward to using this language more and more!

  • @chrisvouga8832
    @chrisvouga8832 2 года назад +11

    I’m hyped for roc

  •  Год назад +4

    I am humbled and elated to see such great language design!!!
    Looking forward to see isomorphic Roc code, so we may use it for both web server and the browser.
    What about type classes and generics?

  • @stephenkamenar
    @stephenkamenar 2 года назад +2

    i remember using livescript all the way back before node even had async await, and you had to callback hell everything.
    livescript backcalls thing was so good

  • @C3POXTC
    @C3POXTC 2 года назад +2

    Great talk and very interesting discussions.

  • @julianavar3836
    @julianavar3836 Год назад

    For those interested, I recommend Koka. Really incredible language.

  • @notabene9630
    @notabene9630 2 года назад +2

    I already know I'll use the catchall errors return "ahhhhhhhhhhhhhhhh"

  • @majorhumbert676
    @majorhumbert676 Год назад

    Would we still need Elm if we have Roc with a corresponding Web UI library?

  • @TankorSmash
    @TankorSmash 2 года назад

    I had the same question about running with type errors, I'd swear that I saw the check pass without warning the user about errors, but I guess not

  • @strickinato
    @strickinato 2 года назад +3

    Even in tech talks 42 years later Rodney Dangerfield don’t get no respect.

  • @RicardoValero95
    @RicardoValero95 2 года назад

    Makes you think how necessary is to use zod, io-ts, or other parsing libraries in the js ecosystem

  • @32zim32
    @32zim32 2 года назад

    So as i understand roc somehow stores type information ay least in test env to run program without undefined behaviour?

    • @mymoomin0952
      @mymoomin0952 2 года назад +4

      he says at 54:09 that a line with a type error is replaced with just an abort, which shouldn't require them to keep type information around at runtime

  • @roteschwert
    @roteschwert Год назад

    Does NoRedInk intend to use it in any capacity

  • @beeshepard
    @beeshepard 2 года назад

    Very interesting!

  • @johndewey7243
    @johndewey7243 2 года назад +1

    Love it, but those numbers need to be fixed, ints and reals should be distinct. Go full numeric tower.

  • @edgeeffect
    @edgeeffect 6 месяцев назад

    I don't like type-inference. "Explicit is better than implicit". Reading other people's code in languages with type-inference can sometimes be very confusing. I see type annotations as more documentation for the reader/maintainer. If a feature makes it easier to read other people's code and harder to write your own code, then reading trumps writing and it's a good feature. and If the converse is true, it's a bad feature. "Typing [as in pressing keys on the keyboard, not type-systems] is not the bottleneck".

  • @32zim32
    @32zim32 2 года назад

    In PHP i can have types, IDE will complain, but I can still run the program )

    • @digitalspecter
      @digitalspecter 2 года назад +7

      Sure, you can also have IDE perfectly happy and still get runtime type errors. That's what I want to avoid.

  • @dat7118
    @dat7118 Год назад +1

    I believe the statement at 26:30 is incorrect about Rust. Calling `let fut = get_movies();` does not immediately fire an HTTP request. One must do `fut.await` afterwards (or just do `get_movies().await`.

  • @Tirka100
    @Tirka100 Год назад

    no mutable variables == no mass adoption