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

preview_player
Показать описание

This fast paced talk will target experienced programmers new to Nim. We will look at diverse and real world bite size examples that would be difficult if not impossible in most programming languages:

* Type safe web routes ( with static overlap detection! )
* Compile time memory and resource management similar to languages like Rust
* Smooth interop with real world template heavy C++
* Flexible and type safe APIs with static introspection
* Metaprogramming with types for highly customizable compile time errors and warnings
* and possibly more if time allows!

Aditya Siram
LeapYear
@deech

Recorded at Strange Loop 2021
Рекомендации по теме
Комментарии
Автор

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.

Wyklepheph
Автор

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

peterme
Автор

@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.

MaksimVolkau
Автор

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

dennismisener
Автор

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

NikolajLepka
Автор

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.

Elite