Re:Julia receives DARPA award to accelerate electronics simu...
by kayson on Thursday March 11, 2021 @02:01PM
(#26427666)
It's an absolute nightmare. Cadence added support for Matlab calculations on simulator outputs, but its clunky and inconsistent. Don't even get me started on how long it takes to do basic calculations on numbers that should already be in memory...
[ Parent
| on HN ]
Re:Julia receives DARPA award to accelerate electronics simu...
by multiply on Thursday March 11, 2021 @02:24PM
(#26427928)
My worst experience was doing a simple min/max of each signal took 7x longer than the simulation. I'd be so happy to toss TCL in the trash. I spent a long time debugging because TCL expr doesn't do -2^2 correctly. The error messages don't tell you the line number and I found no good way to debug. Things like that are just the tip of the iceberg of time wasted fighting with arcane tools. I suppose others have their own stories.
Re:Julia receives DARPA award to accelerate electronics simu...
by kbr2000 on Tuesday March 16, 2021 @09:52AM
(#26476673)
In Tcl's expr:
^ stands for bitwise XOR: so [expr {-2^2}] results in -4
* stands for exponentiation: so [expr {-2*2}] results in 4
Both seem correct to me, taking into account how integers are represented in binary (two's complement for the negative ones).
With regards to debugging dynamic programming languages, it is different as compared to their static counterparts, since much is delayed to happen at runtime (as opposed to at compilation time). But it also opens up possibilities (like introspection, ability to intervene in the scripts while they run, ...). It requires a different mindset.
Re:Julia receives DARPA award to accelerate electronics simu...
by blacksqr on Friday March 19, 2021 @09:07PM
(#26519837)
I've always been astounded that much of the rage against Tcl seems to stem from the fact that it works as documented, rather than according to the rules of other languages.
Re:Julia receives DARPA award to accelerate electronics simu...
by kbr2000 on Tuesday March 16, 2021 @12:35PM
(#26479099)
Mmmn, HN stripped out the half of the double asterisks, now I made it confusing myself... Too late to edit my comment above, but it needs to be like this:
** stands for exponentiation: so [expr {-2**2}] results in 4
Re:Julia receives DARPA award to accelerate electronics simu...
by KenoFischer on Thursday March 11, 2021 @02:41PM
(#26428118)
We are building something along these lines that the DARPA work sits on top of, so if you have a current need, do feel free to reach out (email is in profile).