Click here to Skip to main content
15,887,267 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Progress and the death of cool code Pin
Richard Andrew x647-Feb-24 7:21
professionalRichard Andrew x647-Feb-24 7:21 
GeneralRe: Progress and the death of cool code Pin
honey the codewitch7-Feb-24 7:22
mvahoney the codewitch7-Feb-24 7:22 
GeneralRe: Progress and the death of cool code Pin
Daniel Pfeffer7-Feb-24 9:58
professionalDaniel Pfeffer7-Feb-24 9:58 
GeneralRe: Progress and the death of cool code Pin
Richard Andrew x647-Feb-24 10:48
professionalRichard Andrew x647-Feb-24 10:48 
GeneralRe: Progress and the death of cool code Pin
honey the codewitch7-Feb-24 10:59
mvahoney the codewitch7-Feb-24 10:59 
GeneralRe: Progress and the death of cool code Pin
Daniel Pfeffer7-Feb-24 10:59
professionalDaniel Pfeffer7-Feb-24 10:59 
GeneralRe: Progress and the death of cool code Pin
Luschan10-Feb-24 7:18
Luschan10-Feb-24 7:18 
GeneralRe: Progress and the death of cool code Pin
Rick York7-Feb-24 8:10
mveRick York7-Feb-24 8:10 
About twenty-five years ago I wrote some code that did something similar. It was my import definition file for my script engine that define all the libraries and functions that were going to be imported along with their arguments and calling type. This was all loaded into shared memory once by the initialization process. This was for an automation system framework that was designed as a whole bunch of small, independent processes that were all implemented with the script engine. Everything was parsed and compiled to native machine code and it was lightning fast in both execution and load time. I was and still am pretty proud of that code. The last I heard there were over one thousand installed systems using the framework that are used to build all kinds of things.

The thing is, it too is a bit rusty now. That was all done in the 32-bit world and one thing in particular was done a bit on the sloppy side. Enough so that if it is ever ported to the 64-bit world it is going to a HUGE amount of work. One amusing thing is we heard from a few customers who thought interpreted code would be too slow. It really wasn't but I figured out how to generate machine code on the fly so speed become a non-issue. Now, with 5GHz, multi-core processors being normal that script engine could be reverted to compilation for interpreted execution and still be more than fast enough.

FWIW - the sloppy thing was handling time values which is REALLY important for those systems since a big part of their job is scheduling processing equipment. I should have used a specially defined type and the porting would be really easy. The way they were handled is going to be difficult to sort out but the clock is ticking on that. This is actually a potentially bigger issue than the year 2000 stuff was. That is because in 2037 the 32-bit time_t value is going to overflow so any systems that still use them are going to have interesting problems. I suspect that is a pretty large number of systems. Did you know the German railroad system still runs most of their trains with Windows 3.1? The US Navy still runs a large number of ships with Windows 98. There are tons of ancient, legacy systems in all kinds of places that need to be updated and if we don't get started soon big problems will arise. At the speed of government, thirteen years is really not that long.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

GeneralRe: Progress and the death of cool code Pin
honey the codewitch7-Feb-24 8:28
mvahoney the codewitch7-Feb-24 8:28 
GeneralRe: Progress and the death of cool code Pin
rtischer82778-Feb-24 2:09
rtischer82778-Feb-24 2:09 
GeneralRe: Progress and the death of cool code Pin
Rick York8-Feb-24 6:19
mveRick York8-Feb-24 6:19 
GeneralRe: Progress and the death of cool code Pin
Greg Utas7-Feb-24 8:43
professionalGreg Utas7-Feb-24 8:43 
GeneralRe: Progress and the death of cool code Pin
Nelek7-Feb-24 10:35
protectorNelek7-Feb-24 10:35 
GeneralRe: Progress and the death of cool code Pin
Kornfeld Eliyahu Peter7-Feb-24 9:46
professionalKornfeld Eliyahu Peter7-Feb-24 9:46 
GeneralRe: Progress and the death of cool code Pin
0x01AA7-Feb-24 9:49
mve0x01AA7-Feb-24 9:49 
GeneralRe: Progress and the death of cool code Pin
StarNamer@work7-Feb-24 13:53
professionalStarNamer@work7-Feb-24 13:53 
GeneralRe: Progress and the death of cool code Pin
Sander Rossel7-Feb-24 21:07
professionalSander Rossel7-Feb-24 21:07 
GeneralRe: Progress and the death of cool code Pin
jochance8-Feb-24 4:59
jochance8-Feb-24 4:59 
GeneralRe: Progress and the death of cool code Pin
Bruce Patin8-Feb-24 5:07
Bruce Patin8-Feb-24 5:07 
GeneralRe: Progress and the death of cool code Pin
Gerry Schmitz8-Feb-24 10:24
mveGerry Schmitz8-Feb-24 10:24 
GeneralRe: Progress and the death of cool code Pin
englebart8-Feb-24 16:05
professionalenglebart8-Feb-24 16:05 
GeneralRe: Progress and the death of cool code Pin
dandy7213-Feb-24 10:42
dandy7213-Feb-24 10:42 
GeneralRe: Progress and the death of cool code Pin
honey the codewitch13-Feb-24 12:41
mvahoney the codewitch13-Feb-24 12:41 
GeneralRe: Progress and the death of cool code Pin
dandy7214-Feb-24 3:48
dandy7214-Feb-24 3:48 
RantReact and Material UI PinPopular
Marc Clifton7-Feb-24 3:35
mvaMarc Clifton7-Feb-24 3:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.