Re: Python Modules & why Python is better

2019-01-15 Thread dom96
It's a clickbait title, people are unlikely to only read it and be convinced that "okay, Nim is worse than Python".

Re: Python Modules & why Python is better

2019-01-15 Thread liwt31
Yeah, that's my point. Maybe the `nimrtl.dll` approach should be taken for these python packages? I think it will probably bring back [this issue](https://github.com/nim-lang/Nim/issues/8405).

Re: Python Modules & why Python is better

2019-01-15 Thread Araq
@litwt31 If you use `nimrtl.dll` there is only one instance of the GC'ed heap and things are supposed to work. Note that this problem isn't Nim specific or GC specific either, it's an inherent problem of shared libraries / DLLs.

Re: Python Modules & why Python is better

2019-01-14 Thread liwt31
Nice work, but I'm curious on what will happen if I import more than one of your packages in one python script. IIRC, I can't have multiple Nim GC instances in one process, otherwise the GC module will not behave properly and finally leads to crash.

Re: Python Modules & why Python is better

2019-01-11 Thread Araq
Please keep in mind that many people only read the title and this week's topic is "are we popular now? No? why?!" So "Python Modules & why Python is better" is a suboptimal headline. ;-) (This forum really needs an "edit title" feature...)

Python Modules & why Python is better

2019-01-11 Thread juancarlospaco
**... with Nim.** 🤪 So some people chating about Python, and coming from Python to Nim, and etc. I will show you some stuff I done with Nim, on Python, and maybe works as an example implementation for people wanting to do the same. I wanted to speed up Python, everybody know is slow, and taking