7 ms·
NimConf 2021
- pietroppeter 5y ago13 talks for about 7h30' of content (from 11 UTC to 20 UTC with 1h30' of breaks). very much looking forward to it!
- treeform 5y agoThat's a lot more talks this year. Can't wait!
- pietroppeter 5y agothat was my impression too, but checking against last year we actually had 16 talks over a timespan of 10 hours including breaks (this year they are 13 over 9 hours with same breaks): https://conf.nim-lang.org/2020/ https://conf.nim-lang.org/2020/
- komuher 5y agoMan still waiting for nim to get more traction such a wonderful language
- geodel 5y agoYes, seems others are also waiting for Nim to get more traction before they start using it.
- bckr 5y agoI fantasize about creating an auto-translator to make any Python package available as a Nim library. Then anyone who thinks "I need Python but faster" would have an easier time trying it out. But first I should probably leaen Nim! Have just been admiring from afar.
- crispyalmond 5y agoSomething like this? https://github.com/yglukhov/nimpy https://github.com/yglukhov/nimpy
- bckr 5y agoFrom the Readme, Nimpy is a language integration tool that lets you call Python from Nim. It also links to Nimporter which allows you to import Nim code as a Python package. What I'm describing would be the inverse of Nimporter, allowing you to import Python code as a Nim library (without making Python calls). That way, you get the performance of Nim but the years of Python package development. "Transpiler" might be a better word? I've never worked on anything so difficult so I'm really just spitballing. But... wouldn't it be cool? :)
- crispyalmond 5y agoAh yes, I misread your intent. That would be very nice to have. There is this breakdown of features[0] present in Nim compared to Python which might be helpful when doing this. [0] https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
- jamesgeck0 5y agoMy experience learning Nim is that it's more fiddly and less elegant than Python. The OOP syntax in particular could be streamlined a lot (the Nim by Example macro code demonstrates this). In addition to learning the basic syntax, there are a fair amount of features implemented as pragmas; there's some important things like {.base.} mixed into this sort of junk drawer of stuff. They often felt sort of like an afterthought to me.
- bckr 5y agoI totally believe that. I guess what I really want is high-performance Python. On the other hand, Nim has some years to go before it's mature.
- tomrod 5y agoI have enjoyed learning nim. I use exercism.io for this type of stuff, and the nim exercises are helpful! https://exercism.io/tracks/nim https://exercism.io/tracks/nim (I have no connection to exercism except as a user).
- massung 5y agoLast I worked with Nim, the most frustrating aspects of it were how it implemented tuples and multi-threading. Tuples are really more akin to records, which name their fields. Because of that, I found many things quite difficult to do since I couldn't just return and work with a generic tuple type; read: (int, string) doesn't equal (int, string) because one is forced to name the elements and magically know the names of elements as well from returned tuples. And multi-threading was just a mishmash of ideas, none seemed "blessed" or really 1.0 worthy (as of 1.0). Those two issues aside, I really liked Nim when I tried it. Maybe the issues above aren't issues any more and I should take another look?
- matthiaswh 5y agoI believe the only time you have to name a tuple is when you define a tuple type. You can otherwise easily work with "anonymous" tuple fields. https://play.nim-lang.org/#ix=2lK1 https://play.nim-lang.org/#ix=2lK1 Tuples with anonymous fields are equivalent to those with named fields as long as the types and values match. Two tuples with differently named fields will not be equivalent even if their values are. > magically know the names of elements as well from returned tuples. This is not magic, is it? No more so than knowing the return type.
- uryga 5y ago> https://play.nim-lang.org/#ix=2lK1 https://play.nim-lang.org/#ix=2lK1 which part of the link shows using tuples? i can't really see anything tuple-like really
- pietroppeter 5y agoYou can return a generic tuple and you do not need to know the names when using a returned tuple: https://play.nim-lang.org/#ix=3qTu https://play.nim-lang.org/#ix=3qTu
- irq-1 5y agoAnonymous tuples: echo (3,5,7) let (x, y) = ( "X", "Y" ) echo x, y (3, 5, 7) XY
- 5y ago
- whalesalad 5y agoThis is cool - I have been meaning to pick up Nim.
- 0-_-0 5y agoThe second talk is "Making a Platformer in NICO with Nim". NICO [0] is the Nim version of the PICO-8 [1] "fantasy console" framework (potentially faster because it uses a compiled language instead of LUA the PICO-8 is based on). Its focus is making simple games, which is a great way to learn a new language (wink wink)! [0]: https://github.com/ftsf/nico https://github.com/ftsf/nico [1]: https://www.lexaloffle.com/pico-8.php https://www.lexaloffle.com/pico-8.php
- pjmlp 5y agoLooking forward to it.
- pietroppeter 5y agoAsking here (@dang) but not really expecting an answer, would be nice to receive one though. I suspect this thread (apart from a title edit which removed date of event, weird but ok) was flagged in some way: early on it started ranking very low given points and time of submission, currently it shows at the end of Nim searches in algolia (by default ranked by points). I submitted being careful not to advertise the submission on Nim channel to limit artificial growth by fans and possibly avoid the flagging mechanisms (unsuccessfully). If it were to die off without interest, fine, somebody else would submit again or maybe people are just not interested. Instead it got points but went very early on away from top page. This means people were interested but the post had artificially limited visibility. It also means a repost is not encouraged. I believe this is a legitimate submission advertising and stimulating discussion from larger HN community on a Nim (a language on which HN crowd has expressed interest) event that happens once a year (and there has been very limited submissions on Nim subjects in the last months). Is there something else a normal user should know to avoid stuff being flagged while trying to genuinely share something without trying to trick HN in any way? Or is there something specific in this post that warranted flagging? I am personally very fond on Nim on HN since this is how I discovered about Nim, but this stuff happening makes me less eager to submit stuff (Nim related or otherwise on this site).
- antattack 5y agoIt's true - I did not see this submission until I searched for it, after learning about the event from nim blog.
- antattack 5y agoI'm looking forward to fidget2, immediate mode GUI. I think this could be a 'killer app' to bring small nim apps closer to a (non technical) end user.