Does it compile into JVM bytecode or Java source code?
JVM bytecode is one of the most infuriating IRs I ever had the displeasure to work with, and if you managed to make a compiler for that, I applaud you.
Fortunately I generate Java source code from it. However MPS generates both source and byte code when you build the solution. For some reason I can’t get the byte code to run though, but the source code does, so I don’t care too much.
You could say the same for a finite element model. A junior engineer with just 4 years of training can solve, explicitly, the deflection at the center of a slender, simple-simple beam of prismatic section and produce an exact (if slightly incorrect) answer. Building a FEM of the same can solve the problem and take longer (to make the model) with similar accuracy, both of which are good enough for design work.
Only a fool wouldn’t have a FEM around though, as it can solve problem that would take centuries for a human to solve. They may as well make a cartoon with the child digging a 3” hole in beach sand and then showing a backhoe making a jagged edged hole of the same size.
Part of the reason this is a great example is you can easily calculate the maximum stress of an I-beam IFF you know where to find the simple formula. Even a dense FEA mesh will always give an answer like 3x4=11.9974, it’s worse. The education is how you know which formula to use.
Isn’t this how everyone learns and does stuff? No one knows how to code since day one and no one tells people not to change files to executables without further inquiry I mean I get that its a meme but…
programmer_humor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.