"Nim Nuggets: Systems Programming & Metaprogramming Magic" by Aditya Siram

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

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

  • @Wyklepheph
    @Wyklepheph 2 ปีที่แล้ว +27

    I started writing with Nim a couple years ago and I pretty much only write Nim code now. It’s such a joy to work with. Projects end up being much simpler. Getting out of the object oriented programming mindset helped a lot as well.

  • @peterme
    @peterme 3 ปีที่แล้ว +15

    Great presentation! Interesting to see so much focus on ARC and C++ interoperability

  • @alurma
    @alurma 3 ปีที่แล้ว +15

    Love talks from Aditya Siram :)

  • @MaksimVolkau
    @MaksimVolkau 3 ปีที่แล้ว +12

    @Aditya, You are doing more to promote Nim then I am hearing from the nimmers, at least in the twitterverse ;)
    It would be interesting to hear your opinion on Jai because it has fast compiler (faster than Nim) and comp.time allowing type introspection and running games in the same time. Closed beta now but videos are in Jonathan Blow youtube.

    • @andreasrumpf9012
      @andreasrumpf9012 3 ปีที่แล้ว +35

      Jai lacks the memory&resource management story and it's always easy to compile faster by leaving out compile-time checks or elaborate type inference. Nim compiles fast without cheating and will compile much faster in the future thanks to an improved compiler architecture, not thanks to leaving out dozens of useful features such as RAII.

    • @drygordspellweaver8761
      @drygordspellweaver8761 ปีที่แล้ว

      @@andreasrumpf9012 Hey Andreas- nice work on nim! It looks like a really awesome language.
      I seem to be having some compilation slowness on my machine however and as I'm new to the language I don't know if it's "supposed" to be this way or if there is something wrong with my setup.
      I have minGW on windows and am using the 1.9.1 nightlies version. A simple script that doesn't do much takes about 3 seconds total to compile and run. I don't think it's supposed to take so long. It's just a little distracting as I am in the learning phase and am constantly modifying and recompiling scripts to test things out.
      Any advice or links/articles about how to going about resolving the issue would be much appreciated.. thanks!

  • @NikolajLepka
    @NikolajLepka ปีที่แล้ว +2

    I'm honestly not sure what the value of the sink is, if nim just ignores it by default

  • @hamidbluri3135
    @hamidbluri3135 2 ปีที่แล้ว +3

    AMAZING TALK!

  • @grandetalpa1117
    @grandetalpa1117 3 ปีที่แล้ว +5

    Really cool and interesting talk

  • @dennismisener3706
    @dennismisener3706 3 ปีที่แล้ว +4

    Terrific presentation… A little over my head but the stretch felt good :-)

  • @Elite7555
    @Elite7555 2 ปีที่แล้ว +2

    Mh, that stuff about static introspection and compile time evaluation sounds a lot like D.
    19:17 But could a macro not also create the extended type PersonV1 to eliminate copy&paste?
    30:30 Ouuh, Implicit copies are dangerous. Copying should be an opt-in feature, not an opt-out. It's one of the defaults Rust got absolutely right.

    • @EdubSi
      @EdubSi 2 ปีที่แล้ว +2

      Copies might be dangerous if want the speed. Otherwise it gets out of your way right?

    • @chainingsolid
      @chainingsolid 2 ปีที่แล้ว +3

      @@EdubSi What if you modify the copy thinking you where modifying the original?

  • @guilherme5094
    @guilherme5094 ปีที่แล้ว

    Really nice👍