Тёмный

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

Strange Loop Conference
Подписаться 82 тыс.
Просмотров 19 тыс.
50% 1

On the surface Nim (nim-lang.org/) is familiar, a fast statically typed highly productive language that looks like Python, but just below the surface are cutting edge features that put it at the forefront of systems programming, interop, metaprogramming, and static introspection.
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
I am a Haskell developer at LeapYear (leapyear.io/) and work on Nim by candlelight. I am interested in the intersection of programming language user experience, explorability, abstractions and performance.
Recorded at Strange Loop 2021
thestrangeloop.com

Наука

Опубликовано:

 

8 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@Wyklepheph
@Wyklepheph 2 года назад
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 2 года назад
Great presentation! Interesting to see so much focus on ARC and C++ interoperability
@alurma
@alurma 2 года назад
Love talks from Aditya Siram :)
@dennismisener3706
@dennismisener3706 2 года назад
Terrific presentation… A little over my head but the stretch felt good :-)
@hamidbluri3135
@hamidbluri3135 2 года назад
AMAZING TALK!
@grandetalpa1117
@grandetalpa1117 2 года назад
Really cool and interesting talk
@MaksimVolkau
@MaksimVolkau 2 года назад
@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 2 года назад
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!
@guilherme5094
@guilherme5094 Год назад
Really nice👍
@NikolajLepka
@NikolajLepka Год назад
I'm honestly not sure what the value of the sink is, if nim just ignores it by default
@Elite7555
@Elite7555 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 года назад
Copies might be dangerous if want the speed. Otherwise it gets out of your way right?
@chainingsolid
@chainingsolid Год назад
@@EdubSi What if you modify the copy thinking you where modifying the original?
Далее
"Type-Driven API Design in Rust" by Will Crichton
40:57
SCHOOLBOY. Последняя часть🤓
00:15
Просмотров 948 тыс.
"Morel, a functional query language" by Julian Hyde
40:40
Nim Metaprogramming in the Real World
31:17
Просмотров 4,9 тыс.
"Whoops! I Rewrote it in Rust" by Brian Martin
33:32
Просмотров 89 тыс.
Andreas Rumpf: Welcome to NimConf 2021 + Zen of Nim
50:44
#samsung #retrophone #nostalgia #x100
0:14
Просмотров 14 млн
КРАХ WINDOWS 19 ИЮЛЯ 2024 | ОБЪЯСНЯЕМ
10:04
Samsung's creepy alarm system
0:17
Просмотров 46 тыс.