Wulf if you ever want to add another supported language
Discussion in 'Rust Development' started by Caffeine, Aug 5, 2016.
-
Personally, I am against adding PHP to the language pool.
There is little to no reason to start new projects in PHP outside of backend webdev (and in that area it's the frameworks that supply ANY reason to still use it), especially for hobby projects (the same goes for other languages like Perl and COBOL, by the way
).
This is just my personal opinion, others might disagree
Also, at this point the scripting languages don't have access to the entirety of Oxide either, so before adding any new languages, that should first get sorted out. -
I'm not really suprised with your post, PHP has always received a lot of hate, but the reality is it's a wonderful language, it powers something like 82% of websites according to a top stats site Usage Statistics and Market Share of PHP for Websites, August 2016, and as a freelance developer who's been doing it as a living for 12+ years PHP is one of my favorite languages. It allows me to test and get things done quickly, and I use it via CLI(command line interface) all the time as well. I won't argue with you its uses or its value because I know i'll find myself annoyed , and honestly people can use whatever they like. Also your comment about oxide not being exposed entirely to scripting languages sound indeed like that should be addressed before anything.
-
Well, popularity isn't a good measurement for quality

The reason why PHP receives a lot of hate is because there are incredibly many inconsistencies and traps in the language while still being relatively slow (as opposed to C, which has traps, but is fast).
A great example for this is that the core standard library functions all follow weird naming conventions because originally the function hashing function used to be the length of the function name, so Rasmus tried to get many different function name lengths to get a nice hash distribution.
These functions are still in use due to backwards compatability.
I'll give you that many people know PHP, though, and that's a good reason to still use it in some cases (for instance if most of your employees know PHP). -
Again as tempted as I am to debate PHP with you, I won't because i'll end up getting passionate and is a waste of energy. I will end with this though
C++ vs. Python vs. Perl vs. PHP performance benchmark (2016)
"PHP 7 made the big surprise. It is about 10x faster than PHP 5.x, and about 3x faster than Python which is the next fastest script language." -
I didn't claim the other scripting languages were any better - scripting languages in general are slow because of their interpreted and dynamically typed nature. It usually comes down to the implementation, but most of them are similarly slow.
I was talking about the combination of inconsistencies and slowness - which isn't as extreme in languages like Python.
Either way, you're right, let's stop this. -
Wulf Community Admin
I doubt there would be any other languages we add support for, at least not officially. C# is the language that gets the focus right now as well. There are a million languages that could be added, but the likelihood of it being worth being added is slim, most of the time the scripted languages are not as supported either due to lack of familiarity or whatnot.
