Re: Random idea - porting python 3 stdlib to Nim.

2017-09-07 Thread evacchi
> @evacchi, you're absolutely right; thanks for the reminder re cython.

hey nothing against what you're doing, but remember a strong motivation (same 
applies to nimpylib) 


Re: Random idea - porting python 3 stdlib to Nim.

2017-09-07 Thread wizzardx
Thanks for those replies!

@evacchi, you're absolutely right; thanks for the reminder re cython.

@Tiberium, I'll probably be using nimpylib a fair amount in the future, maybe 
sending a pull request here and there 


Re: Random idea - porting python 3 stdlib to Nim.

2017-09-06 Thread Tiberium
[https://github.com/Yardanico/nimpylib](https://github.com/Yardanico/nimpylib)


Re: Random idea - porting python 3 stdlib to Nim.

2017-09-06 Thread evacchi
well, if you're objective is to try and appeal to the Python community, I think 
they might wonder what's the benefit of using Nim rather than,say, Cython, 
which maps more closely to "real" Python


Random idea - porting python 3 stdlib to Nim.

2017-09-06 Thread wizzardx
Just a random brainfart.

Would probably start by taking typeshed static type declarations for python 
builtins.

String would probably be a wrapped unicode/runes string; bytes would be mainly 
native c bytes.

Arbitrary precision int libgmp.

There's already a lot of libs which bring python-like libs etc over to Nim.

Resulting code would be totally none-idiomatic Nim and probably a lot slower.

I'm not volunteering for this; just throwing out a totally random idea.

Pretty terrible idea right? Lol.