Comments (2)
As I mentioned on the PR, my preference is that zep be widely deployable to my projects as they stand, without needing to force compiler upgrades. Supporting multiple compiler standards is less attractive to me than deployability, so I'd prefer to see those structures in the rapidly evolving portions of std avoided through the use of less modern features. #ifdef'ing around std and language differences means that issues can fall through the cracks unless someone is testing and maintaining the variants across compilers and compiler versions. Regressing the affected code to less modern features would avoid that. I realize that has a knock on effect, so it's not a trivial suggestion, but I think chasing standards is also not trivial, over the long term.
from zep.
I'm somewhere in the middle here! I like to be able to use the more modern features, and I'm all for fixes that work with C++17/20. On the other hand, as @meshula noted, I have tried to keep Zep working on most compilers.
The change to signals is actually to a shared library; so no real knowledge of what the right thing to do there is; the PR looks fine for me. I should add attribution to the header here (it is MIT, but the right thing to do): https://github.com/fr00b0/nod
The same thing for the threadpool; I didn't write it, but that fix looks OK to me.
The explicit on the MString is obviously the right thing to do; and I need to be better about using that keyword.
As you can see, the heavy STL/template usage is usually in shared bits; I don't favour this style of coding myself; I find it hard to update/understand. So I think these fixes are OK, given their location and the needs of @nicolasnoble
from zep.
Related Issues (20)
- A few questions about Zep HOT 3
- Errors when building on Windows with GCC (MSYS2). HOT 4
- macOS build instructions HOT 8
- Slow performance? HOT 11
- Prebuild fails because vcpkg version depends on expired packages HOT 3
- cmake errors + fix? HOT 3
- Simple ImGUI example HOT 4
- Insert mode MotionRight can't reach end of line? HOT 1
- utf8::unchecked::iterator should not derive from std::iterator HOT 4
- Using Zep with "international" keyboard (key code remapping?) HOT 10
- Multiple changes / feedback HOT 4
- How to customize the theme colours and background HOT 1
- How is Zep's current input handling done? HOT 8
- % feature needs to skip inner brackets. HOT 1
- Select a line, SHIFT+V, then x should copy to registers, and be pasteable with 'p'
- Minor missing functionality from Vim `%` handling HOT 4
- ZepPath::replace_extension truncates character before dot. HOT 3
- LineWidget Input Processing HOT 5
- 'A' to 'E' letter keypresses emit F8-F12 when no SDL is used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zep.