by oilbagz · 5y ago · 0 comments
If I even have to think about using npm or javascript to join the new hipster cult, I'm out. These tools are not up to snuff.
C'mon crypto guys, give us systems programmers the libs we need. Javascript is OUT. Your fancy DSL is OUT. Go C/C++ native, or GTFO ...
As someone who 5 years ago refused to learn JavaScript and was firmly in your camp, I don’t really see an “up to snuff” argument to be made anymore. All languages have quirks and JavaScript definitely has them, but it’s not alone in that regard, especially comparing to C/C++/Go. Besides, you don’t want a systems programming language to write code that runs in the EVM, or when running others untrusted code.
Use the right tool for the right job.
There aren't any good reasons to avoid producing viable C/C++ libraries to implement this kind of technology - only developer complacency and laziness.
Want me to adopt your new fintech? Let me embed it in ANY app I might write, not just the browser, not just cli-Javascript ..
Or is it something else?
I don't think the decision to use Javascript for this kind of functionality was wise, or practical. The cyclomatic complexity of managing a web-installable javascript codebase compared to a C/C++ module is just too damn high.
This is a fallacy argument. Because other users it, doens't mean its good.
It’s single threaded, but again, right tool for the right job.
I don't think memory-safety issues are the killer app for Ethereum. The lack of C/C++ is one of the best things about the Ethereum ecosystem.
Besides which, you're never going to convince me that Javascript/NPM have fewer issues with leaks and holes than a well engineered C/C++ lib would. I mean, come on ..
Memory issues are still the source of the biggest and best bugs. I have no doubt I can find huge security issues in your native code.
While I certainly concur with your perspective, the context is, C/C++ vs. Javascript. You have so many low hanging fruit in the npm eco-system, you'd be a fool wasting time on my code. Which, incidentally, is protecting millions of peoples lives in 40 countries, while they commute to work every single day... its not exactly the kind of stuff that teenagers unpack for use in searching strings for things ..
Finance code should be much, much better tested than the Javascript eco-system allows. There is no reason not to write finance/cryptocurrency code with the same vigor as transportation safety modules. You're totally right that, if my C/C++ codebase were treated the same way as the average Javascript module, you'd be having a field day.
But, done properly, you'd have your job cut out for you. And thats exactly what I'm asking for, from those building 'next generation finance software': get it to SIL-4.