I am an amateur developer, mostly using python. I had from time to time to code a front-end in JS and it was a huge pain in the bottom (again, I am a real amateur). This until I discovered Vue.js which changed my life. This and lodash made me actually like JS and front-end programming. So this is an example what a framework did not help to improve code but actually made me choose in something else than the language I…
Ask HN: When has switching the language/framework made an important difference?
81–90 of 152 posts
Re: Ask HN: When has switching the language/framework made an important difference?
#82I am an amateur developer, mostly using python. I had from time to time to code a front-end in JS and it was a huge pain in the bottom (again, I am a real amateur). This until I discovered Vue.js which changed my life. This and lodash made me actually like JS and front-end programming. So this is an example what a framework did not help to improve code but actually made me choose in something else than the language I…
Would you be able to recommend any Vue tutorials/resources/projects you found useful while learning?
Onve you've read the docs, just start building.
Re: Ask HN: When has switching the language/framework made an important difference?
#83Well I'll provide a somewhat different story where the lack of change has caused quite a loss in productivity. At my current employer's a big part of the codebase is in Perl and the boss is a fan of the language, so we keep using it. The problem is, Perl is pretty much dead, and most of the packages out there on CPAN feel like they've been built 10 years ago. Not to mention, the language itself lacks what I would cal…
Re: Ask HN: When has switching the language/framework made an important difference?
#84I worked on a project a few years ago that was a mixture of Erlang and Ruby. Most of us were new to Erlang, coming from a Ruby background. We wanted to use Erlang to its strengths for high availability and to make the platform distributed, and Ruby (via BERT/Ernie) to its strengths for business logic. Unfortunately Ernie didn't work as well as it advertised, had many edge cases, and in the end it was a big bottleneck…
Re: Ask HN: When has switching the language/framework made an important difference?
#85Earlier quoted context omitted.
Because scientists already know fortran and they're too lazy to learn something else even if there would be significantly improved results.
Like what?
You could also get much faster if most of your work is matrix multiplication if you make use of libraries like ViennaCL and a modern C++ compiler.
Re: Ask HN: When has switching the language/framework made an important difference?
#86Developer ergonomics is underrated. Having an easy to understand system that has no magic, and in 90% of the work has no dependency chains that you have to hold in your head can really help people avoid bugs by being able to focus on the intent and execution rather than the framework quirks.
I agree. Do you have a platform/framework that does this for you?
Re: Ask HN: When has switching the language/framework made an important difference?
#871 month working with OpenLazslo and PHP it became clear I would not be able to finish in time. I started searching for alternatives and was unable to finish the Rails tutorial - but after 30 minutes I had a basic CRUD app done using Django.
I ditched the RIA thing, rewrote everything in Python/Django, was able to finish that project in time and this stack is paying the rent since then.
It was really worth.
Re: Ask HN: When has switching the language/framework made an important difference?
#88Moving a large C++ codebase to C# has helped us a lot. The legacy code had memory leaks that caused random crashes. It was also long to build, and wouldn't build in 64 bit. The C# version seemlessly let us run the code in either 32 or 64 bit. C# is also a much more readable language, and has a lot of great tools for refactoring and profiling. And C#'s performance is almost as good as C++ in many areas, so all in all…
I'm guessing that moving from C++ to C++ (i.e., a rewrite in the same language) would also have helped a lot.
So, no it was not really messy in there. But it was big and memory leaks are hard to find.
The main problem is that there was some low level funky stuff happening that we didn't have a good grip on. The guy who wrote it thought it would be great to optimize the code in some ways, but clearly overdid it.
Re: Ask HN: When has switching the language/framework made an important difference?
#89A few years ago, I rewrote an `R` script into Fortran, for better than order-of-magnitude speed increase. The script optimized the placement of samplers in a building, in order to maximize the probability of detecting airborne pollutants, or to minimize the expected time required to detect. The rewrite cut the runtime down from 2-3 days to sub-hour. Some of the speedup was intrinsic to the interpreted/compiled divide…
Re: Ask HN: When has switching the language/framework made an important difference?
#90Earlier quoted context omitted.
I'm guessing that moving from C++ to C++ (i.e., a rewrite in the same language) would also have helped a lot.
Actually that particular C++ was very well written. It had been written by a single very disciplined person over 3 years, following a lot of very strict conventions. So, no it was not really messy in there. But it was big and memory leaks are hard to find. The main problem is that there was some low level funky stuff happening that we didn't have a good grip on. The guy who wrote it thought it would be great to optim…
But then I suppose a rewrite would undo those optimizations and solve the problems.