Pystd, similar-ish functionality with a fraction of the compile time
nibblestew.blogspot.com
Pystd, similar-ish functionality with a fraction of the compile time
1–10 of 32 posts
Re: Pystd, similar-ish functionality with a fraction of the compile time
#2With regards the library itself —- I think it’s generally known the c++ standard library is a poorly designed mess in places but if you make an entirely new one you lose all the software already written, at which point why use C++ nowadays?
Re: Pystd, similar-ish functionality with a fraction of the compile time
#3Wow, that might be the worst name for a project I’ve ever seen. I think every programmer who sees this is going to assume it’s a Python thing. With regards the library itself —- I think it’s generally known the c++ standard library is a poorly designed mess in places but if you make an entirely new one you lose all the software already written, at which point why use C++ nowadays?
As for the why c++ at all, as long as one falls into the "don't care" category, it works fine.. lately I found myself I rather build my apps in C with NODEFAULTLIB (under Windows at least), and creating my own size-optimized standard library which on Windows wraps the Win32 API wherever possible. The size savings are incredible, my executable is in the ~500KB range, ultra small and ultra fast. This is unattainable with normal modern C++.
Re: Pystd, similar-ish functionality with a fraction of the compile time
#4Wow, that might be the worst name for a project I’ve ever seen. I think every programmer who sees this is going to assume it’s a Python thing. With regards the library itself —- I think it’s generally known the c++ standard library is a poorly designed mess in places but if you make an entirely new one you lose all the software already written, at which point why use C++ nowadays?
Agreed, I thought this is a wrapper for STL under Python, what does the py prefix stand for here actually? As for the why c++ at all, as long as one falls into the "don't care" category, it works fine.. lately I found myself I rather build my apps in C with NODEFAULTLIB (under Windows at least), and creating my own size-optimized standard library which on Windows wraps the Win32 API wherever possible. The size saving…
Re: Pystd, similar-ish functionality with a fraction of the compile time
#5Earlier quoted context omitted.
Agreed, I thought this is a wrapper for STL under Python, what does the py prefix stand for here actually? As for the why c++ at all, as long as one falls into the "don't care" category, it works fine.. lately I found myself I rather build my apps in C with NODEFAULTLIB (under Windows at least), and creating my own size-optimized standard library which on Windows wraps the Win32 API wherever possible. The size saving…
Out of curiosity what are your projects written in C for Windows? GUI apps?
Re: Pystd, similar-ish functionality with a fraction of the compile time
#6Wow, that might be the worst name for a project I’ve ever seen. I think every programmer who sees this is going to assume it’s a Python thing. With regards the library itself —- I think it’s generally known the c++ standard library is a poorly designed mess in places but if you make an entirely new one you lose all the software already written, at which point why use C++ nowadays?
> design-wise copy the Python standard library's APIs whenever possible [1]
Re: Pystd, similar-ish functionality with a fraction of the compile time
#7Wow, that might be the worst name for a project I’ve ever seen. I think every programmer who sees this is going to assume it’s a Python thing. With regards the library itself —- I think it’s generally known the c++ standard library is a poorly designed mess in places but if you make an entirely new one you lose all the software already written, at which point why use C++ nowadays?
It is a Python thing, in the sense that it is Python-inspired: > design-wise copy the Python standard library's APIs whenever possible [1] [1] https://github.com/jpakkane/pystd
0. https://www.reddit.com/r/bashonubuntuonwindows/comments/t952...
Re: Pystd, similar-ish functionality with a fraction of the compile time
#8Wow, that might be the worst name for a project I’ve ever seen. I think every programmer who sees this is going to assume it’s a Python thing. With regards the library itself —- I think it’s generally known the c++ standard library is a poorly designed mess in places but if you make an entirely new one you lose all the software already written, at which point why use C++ nowadays?
Agreed, I thought this is a wrapper for STL under Python, what does the py prefix stand for here actually? As for the why c++ at all, as long as one falls into the "don't care" category, it works fine.. lately I found myself I rather build my apps in C with NODEFAULTLIB (under Windows at least), and creating my own size-optimized standard library which on Windows wraps the Win32 API wherever possible. The size saving…
As for the size requirements, and having Windows experience all the way back to Windows 3.0, you can do exactly the same tricks with C++.
Re: Pystd, similar-ish functionality with a fraction of the compile time
#9Earlier quoted context omitted.
It is a Python thing, in the sense that it is Python-inspired: > design-wise copy the Python standard library's APIs whenever possible [1] [1] https://github.com/jpakkane/pystd
This is giving the same vibe as Windows Subsystem for Linux[0] - it kinda makes sense once somebody explains it, but is confusing as hell when you first see it 0. https://www.reddit.com/r/bashonubuntuonwindows/comments/t952...
Re: Pystd, similar-ish functionality with a fraction of the compile time
#10Only if using classical headers, std as module is already a reality on VC++.