3 ms·
At that level, you can just switch to the clang compiler based Swift language, which is much nicer/modern. And look, there are already Swift web frameworks like
by okket 8y ago
At that level, you can just switch to the clang compiler based Swift language, which is much nicer/modern. And look, there are already Swift web frameworks like https://vapor.codes https://vapor.codes
- gkya 8y agoI really dislike the Swift/Scala/Rust/Dart/Kotlin etc. style, heavy and centralised syntax. ObjC is not very beautiful, but it has an elegant way of combining composable primitives (functions and objects). The same kinda sorta goes for Perl too, which I think is a nicer alternative to C in this stack.
- mpweiher 8y agoEr...not really. First of all, the context was "C is pretty nice for this". Objective-C adds just a tiny bit on top of C, including safe/correct string handling, and is otherwise very similar in its characteristics. Swift is an entirely new language, more like Rust or Kotlin. It's also not based on the clang compiler, clang is a C/Objective-C/C++ front end for LLVM. As to "nicer/modern", well...it does clean up some of the effects of having a hybrid (syntax duplication). Other than that, it is in many ways a step back towards C++ style languages, static/brittle, incredibly complex and incredibly slow to compile.
- earenndil 8y agoSmall nit: swift is built in llvm, much like clang is, but it's not based on it.