13 Dec 2024 |
jmgomez | New nimble release https://github.com/nim-lang/nimble/releases/tag/v0.16.4 | 10:50:31 |
| honest_beagle_94866 joined the room. | 14:20:38 |
| สุเทพ บุญเต็งชาญ joined the room. | 16:29:14 |
| Maria Sicalan joined the room. | 18:40:35 |
| sunpoke04 changed their profile picture. | 19:20:36 |
Robyn [She/Her] | Oh yeah langserver has a weird thing with installing the Nim compiler from git again... I forgot about that, is my solution to just fork it and make it use 2.2.0? | 21:30:02 |
Robyn [She/Her] | Yeah that worked | 21:33:19 |
| jasonboyles3 joined the room. | 22:05:49 |
14 Dec 2024 |
jmgomez | langserver has a weird thing with installing the Nim compiler from git again.
Thats just the lock file, nothing weird about it 🙂
I forgot about that, is my solution to just fork it and make it use 2.2.0
You can also use nimble --useSystemNim install langserver | 10:46:41 |
jmgomez | * langserver has a weird thing with installing the Nim compiler from git again.
Thats just the lock file, nothing weird about it 🙂
I forgot about that, is my solution to just fork it and make it use 2.2.0
You can also use nimble install --useSystemNim langserver | 10:47:05 |
jmgomez | * langserver has a weird thing with installing the Nim compiler from git again.
Thats just the lock file, nothing weird about it 🙂
I forgot about that, is my solution to just fork it and make it use 2.2.0
You can also use nimble install --useSystemNim nimlangserver | 10:47:14 |
Robyn [She/Her] | Ooooh good to know, thanks dude! | 10:50:11 |
| briceyun joined the room. | 11:39:26 |
jasonboyles3 | Redacted or Malformed Event | 18:11:42 |
| kycermann joined the room. | 19:49:45 |
| daoudsilkyfish joined the room. | 19:50:07 |
15 Dec 2024 |
marioboi3112 | is it necessary to know C/C++ if im making binding for Nim, or are there any tools that can automatically generate bindings? | 14:43:47 |
demotomohiro | There are tools to generate bindings: https://github.com/PMunch/futhark | 15:43:31 |
demotomohiro | But if you want to correctly use C/C++ libraries without undefined behavior or memory corruption, you probably need to know C/C++. Some C/C++ functions takes or return pointers and Nim's safety system doesn't work for them. | 15:46:49 |
pmunch | Seconded, but you don't really need to know C, just how C handles memory | 15:52:39 |
pmunch | Or rather how it doesn't | 15:52:45 |
pmunch | Oh, and Futhark still only wraps C, not C++ unfortunately | 15:53:09 |
marioboi3112 | thanks but looks like it works for C libs | 16:30:24 |
marioboi3112 | which is pretty much knowing c lol | 16:30:54 |
marioboi3112 | i was interested in an engine called harfang and turns out it uses python, c++ and lua. and wanted to figure out a way if i can use Nim on it | 16:32:46 |
marioboi3112 | ive heard of nimporter and nimpy but i think nimporter only works when you want to use Nim libs on python but correct me if i'm wrong | 16:32:54 |
rakgew | iirc there are nim-python bridges in both directions | 16:33:31 |
marioboi3112 | other than nimpy | 16:35:07 |
marioboi3112 | * other than nimpy? | 16:35:09 |
rakgew | marioboi3112 : not sure anymore, it has been a while ago. nimpy and nimporter I used for calling nim from python and do remember well. ..and I vaguely remember that I thought , I could now theoretically use nim and pyhton from both sides. | 17:02:35 |