12 Mar 2023, 02:49
(11 Mar 2023, 22:51 )Zooy Wrote: [ -> ](10 Mar 2023, 23:44 )egregious Wrote: [ -> ](10 Mar 2023, 11:13 )Like Ra Wrote: [ -> ](10 Mar 2023, 05:59 )Lancer Wrote: [ -> ]transformer attention mechanism that isn't made in python?Performance-wise? Isn't what Torch (e.g. pytorch, LUA torch) is for? All computational intensive things are written in C.
I thought it was only use greybeards that wrote C these days.
Everyone else seems to be script kiddies or glorified integration engineers (as that is what most of the jobs I see on offer are).
An awful lot of knowledge on how to write optimised code that runs on lower spec (ie less power hungry and cheaper) devices is being lost as we retire
My life's work is an application, written in C, with some added libraries written in C++, but those were written by others.
This application is used on very powerful computers to get the most out of them. The alternative for the users would be to buy several times as many computers or wait several years until the computers are more powerful.
But I am also retired now and I am trying to pass the proper attitude on to a number of the people who rely on this application.
One of the problems is that the new generation expects to pick up ready made modules without knowing what is in them, and other people who are so self-confident that they advertise their often not very high quality products. I have seen a publication where the authors were boasting that they could calculate some mathematical entity in 'only a few hours' on a decent computer, after which in the next issue somebody commented that he calculated the same quantity in a leisurely 5 minutes by hand and noticed the following errors in their answer......... Just imagine that you pick up such a program.
Oooh. Math programs? Scheduling? Compiler optimization? Don't know too many of the really intensive operations done on computers.
I like the ideals of efficient coding but I have to admit that it not for me, for coders it is far more of a concern but I am studying mechanical engineering and not coding because coding is changing too fast and I worry that I won't be able to secure a good job when the time comes.
Some modules really make my eyes bleed. One version of a 2d matrix transposition actually flipped the entire matrix and created a new one instead of just reversing the access mechanism which is far far easier and less resource intensive. Can't really blame people though. In so many cases better solutions are obfuscated by absurd math jargon and terminology the writers shoved in and you can easily end up recreating the wheel unintentionally