Introduction to Roc Programming Language by Richard Feldman

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2024

ความคิดเห็น • 45

  • @rosscousens6263
    @rosscousens6263 6 หลายเดือนก่อน +51

    Richard Feldman is such an engaging and captivating presenter. He comes across as congenial and curious and it's always a pleasure to watch his talks. Really rooting for roc and I can see it's getting to a point where I could start using it myself!

  • @BlowaterNostr
    @BlowaterNostr 5 หลายเดือนก่อน +12

    Roc has matured a lot since last time I watched Richard's talk. Will give it a try!

  • @edbrito-swdev
    @edbrito-swdev 6 หลายเดือนก่อน +19

    I'm very excited to watch this through. Roc, along with Zig, is one of the newer programming languages that's grabbing my attention!

    • @ssmith5048
      @ssmith5048 5 หลายเดือนก่อน

      zig is hardly new.... but yet still not stable.

  • @valerysmirnov9535
    @valerysmirnov9535 5 หลายเดือนก่อน +8

    Sounds like mixture of OCaml and Nim with a platforms feature. Sounds great

    • @godDIEmanLIVE
      @godDIEmanLIVE 5 หลายเดือนก่อน

      Nim mentioned.

  • @fluffyunicorn7155
    @fluffyunicorn7155 6 หลายเดือนก่อน +3

    It will be interesting to see the governance model for this language. I have used Elm in the past. Richard was also part of the Elm team. Elm is “public source” and not open source. You can not meaningfully contribute to the language if you are not part of the team. It is also the only language I know where FFI can only be used by packages that the language authors write. I will not use any language that has not reached 1.0 yet if I’m not comfortable that I can fix the bugs in the language that I run into.

    • @clo4
      @clo4 5 หลายเดือนก่อน +9

      Roc is very much true open source. The largest contributor isn’t even Richard anymore, and there are loads of people that have made very meaningful contributions.

  • @arnemartt
    @arnemartt 6 หลายเดือนก่อน +13

    Wonderful talk, Richard is always on point, super engaging and insightful. Gotta turn off copilot though 😅

    • @rtfeldman
      @rtfeldman 6 หลายเดือนก่อน +14

      Personally I usually have it turned off, but a lot of people ask me what the experience is like when Copilot encounters a language that isn't in its corpus, so I wanted to include that in the demo. 😄

    • @arnemartt
      @arnemartt 6 หลายเดือนก่อน +4

      @@rtfeldman Hey, you're here! I've been following the development of Roc for a while and watched several of your talks, I love the language and I love your style and voice. Can't wait to see where Roc goes next 🙌

    • @rtfeldman
      @rtfeldman 6 หลายเดือนก่อน +4

      Thanks, appreciate it!
      I also don't usually read TH-cam comments, but sometimes people point them out to me 😆

  • @viniciusataidedealbuquerqu2837
    @viniciusataidedealbuquerqu2837 5 หลายเดือนก่อน +1

    I wasn't expecting this version of the language to be so good. the ! operator is beautiful

  • @RobertLJ11
    @RobertLJ11 6 หลายเดือนก่อน +4

    Thanks for the talk and demo..😀 I'm looking forward to trying out the language.

  • @nutelhere
    @nutelhere 2 หลายเดือนก่อน +2

    the anonymous tagged union is the breakthough

  • @ukasztrojanowski3149
    @ukasztrojanowski3149 3 หลายเดือนก่อน

    Oh, wow. A couple months ago I was thinking about how it would be possible to write extensible software without compromising on security, the idea of platforms is super interesting, and could be this languages killer feature

  • @c4tubo
    @c4tubo 5 หลายเดือนก่อน +1

    Wow, that's big news about you joining Zed. Grats for that. Looks like Roc is ready for someone (probably me) to implement Bye Bye Hello World.

  • @JT-mr3db
    @JT-mr3db 6 หลายเดือนก่อน +4

    Very interesting.
    If I’m not mistaken, different platforms could have completely different implementations of Stdin and Stdout?

    • @СергейМакеев-ж2н
      @СергейМакеев-ж2н 6 หลายเดือนก่อน +4

      Different platforms could have completely different APIs, or different implementations of the same APIs. Or they can have their own constraints on the Main that you're supposed to export (e.g. list of errors allowed on the top level, which the platform will then process).

  • @laughingvampire7555
    @laughingvampire7555 2 หลายเดือนก่อน

    I have to admit, I love ML syntax, it looks so much cleaner to me than other languages, some people prefer the English looking stuff but for programming languages English looking stuff is sub-optimal for my taste. I still prefer S-expressions syntax.
    people don't understand how to code with Dynamic languages. the main mistake they make is to focus only on types, also if your reference as dynamic language is Python or Ruby then you are lost. Your reference should by Common Lisp & Smalltalk & Erlang, those are the real dynamic languages, Ruby & Python follow the same static philosophy of UNIX, even som lisps like Scheme & Emacs lisp & some smalltalks like GNU Smalltalk follow the static nature.
    Common Lisp & Squeak Smalltalk are the standard for Dynamic languages.

  • @tlacmen
    @tlacmen 6 หลายเดือนก่อน +5

    Would it be possible to use Roc as a scripting language in a game? Writing a custom platform to provide all interactions with the game. And have it safely run on players pc?

    • @KyleSmithNH
      @KyleSmithNH 6 หลายเดือนก่อน +3

      I would think so - it can compile to webassembly so there's at least an intention for the output artifact to be variable (and based on the platform?). Or do you mean people would write Roc _in_ the game? The REPL on their website means they've managed to embed the language and runtime, so you could too (not that it would be easy, haha).

    • @svenvancaem360
      @svenvancaem360 5 หลายเดือนก่อน +3

      Yeah totally! Last I checked, someone in the Roc Zulip chat was working on exactly that already!

  • @pawelsubko7277
    @pawelsubko7277 หลายเดือนก่อน +1

    Is there a reason for instane / unredable syntax for function call? Also I don't like no 'return' keyword or something indicating where function returns something. I think it adds to readability. Other than that I love it.

    • @Qrzychu92
      @Qrzychu92 23 วันที่ผ่านมา

      once you get used to it, having to write returns thinks just wrong and redundant :)

    • @pawelsubko7277
      @pawelsubko7277 22 วันที่ผ่านมา

      @@Qrzychu92 Well I'm pretty sure you can get used to every minor change like this and then the other way around seems just wrong. We could have no keyword for function definition and I'm sure after some time youd see writing 'def' or whatever wrong. The point is what you choose to see and I think highlighted 'return' keyword greatly increases readability.
      the same goes for function call. I'm sure you can get used to it, but what's here it's plain insane not to do this like the whole rest of the world.

  • @web3tel
    @web3tel 6 หลายเดือนก่อน +4

    It is amazing, looks like a dream came true.

  • @Nesdac-k1l
    @Nesdac-k1l 14 วันที่ผ่านมา

    8:53 rustfmt can be configured, although i suppose its not common to do

  • @Rene-tu3fc
    @Rene-tu3fc 5 หลายเดือนก่อน +2

    haskell + rust + typescript. very interesting

  • @thepatzer
    @thepatzer 5 หลายเดือนก่อน +2

    A bit like Gleam without the BEAM?

    • @verified_tinker1818
      @verified_tinker1818 3 หลายเดือนก่อน

      Looks as different from Gleam as it is from Rust.

  • @СергейГалиуллин-п9ю
    @СергейГалиуллин-п9ю 3 หลายเดือนก่อน +1

    Give us the BEAM and Roc will become the ultimate overlord 3000 language of all the predictable futures

    • @WiecejNoxiego
      @WiecejNoxiego 2 หลายเดือนก่อน

      Maybe there could be some BEAM platform for Roc? I personally appreciate that it doesn't run (or doesn't have to run) on VM.

    • @СергейГалиуллин-п9ю
      @СергейГалиуллин-п9ю 2 หลายเดือนก่อน

      @@WiecejNoxiego sure, that's the best way indeed. Imagine web servers written in ROC, both front and back ends, running on BEAM, type safe, no runtime errors etc etc.

    • @WiecejNoxiego
      @WiecejNoxiego 2 หลายเดือนก่อน

      @@СергейГалиуллин-п9ю I didn't explore ROC much yet (still waiting for it to mature a bit), but personally I'd be more interested in if it's possible to create platform for creating web servers with OpenAPI out of the box.
      It'll definitely be interesting to see how much features platforms can abstract from applications.
      Beam is nice, but it's probably overkill for most web servers and you probably take big performance hit for all its' features.

  • @yurtle1851
    @yurtle1851 6 หลายเดือนก่อน +5

    🔥

  • @kaansouth8789
    @kaansouth8789 4 หลายเดือนก่อน

    This language is so cool!

  • @MorganEarlJones
    @MorganEarlJones 6 หลายเดือนก่อน

    it's unusual to follow along with a video where the person live coding is using 1 release ahead of what the github pushes for every package lol
    I guess this video will stay relevant for longer that way though

  • @zcizzorhandz5567
    @zcizzorhandz5567 5 หลายเดือนก่อน +4

    I'm tired of the hobby languages, what problem is Roc solving specifically? If there's no specific problem it solves it's a waste of time.

    • @DavidAguileraMoncusi
      @DavidAguileraMoncusi 4 หลายเดือนก่อน +4

      What about "making prototyping type safe"?

    • @JoshZigler-m6g
      @JoshZigler-m6g 24 วันที่ผ่านมา

      what a foolish comment on so many levels.

    • @zcizzorhandz5567
      @zcizzorhandz5567 23 วันที่ผ่านมา

      @@JoshZigler-m6g We make things to solve problems.
      Why put so much effort into something that you know has no future?

    • @JoshZigler-m6g
      @JoshZigler-m6g 23 วันที่ผ่านมา

      @@zcizzorhandz5567 maybe you do but most of the people i know make things because they want to. why make music, or a new game, or a sand castle. utility is an incentive, it's not the reason.