297 karma · joined April 21, 2014
I dump the instruction stream for coremark out of LLI interpreter, hacked a tiny bit. To save trouble, here's one iteration of coremark:
https://drive.google.com/open?id=0B0ygb7T_Ab3kM01DQnlvQi1teG...
gunzip the data, run it through the script and count the lines out vs lines in. (I get "IPC" ~2.12.) For a bit more insight, the number on the left of each output line is how many instructions fused. You can make a histogram like:
cat tmp.out | cut -f 1 -d " " | sort -n|uniq -c
76056 1
95805 2
32931 3
4401 4
1172 5
970 6
...http://www.micronautomata.com/
Micron will eat 1000 nested switches 100 cases wide every cycle. This sort of TCAM tech was rare 5 years ago, but everywhere now.
Are any Intel engineers on this thread saying, whelp if they can do 6 we may as well give up? Or does the lack of any data help you sleep soundly and skeptically?
The other issues could be left to consenting adults. But browsers and IT departments turned against plugins in general. Now even Java is almost gone (from browsers) for the same reason.
Using the other meaning of embedded (I embedded a Lua script in my C application), compatibility libraries don't help. It simply won't link.
So, on one hand, there's massive cross-platform support. On the other hand, those platforms are all obsolete, or about to be. Even the mobile and embedded ones have all gone 64-bit.
Maybe backwards compatibility will be maintained for a few years. But it ruins the embed-red-in-C story already.
How many total is that?
Never mind. You convinced me to never go outside, even if you were advocating the opposite.
Is any of that close?
I'd love to give OCaml a go. Tell me why I'll end up disgruntled.
Question: What's wrong with Matlab? Is it that it's closed and costs money? Other than that it seems clean, purpose-built, complete and not really expensive. Why all the open-source attempts to replace it?
I really thought Julia was going to do that, but it's been years and they never got the tooling. They never solved the ridiculous, self-inflicted problem of having to recompile the entire system every time you run it. You're code will execute in 300ms, but only after 10 minutes of compiling. (Or did they make progress? I haven't checked in in a while.)
Anyway, serious question: Why not Matlab?
There was another thread today about an interview with some rockstar VC and his wisdom was: invest in ideas that sound stupid, but turn out not to be. I mean, here I've been trying to not sound stupid in front of investors and it's been holding me back.
One thing that helped get started was slides from a CMU class. Hang on:
https://www.cs.cmu.edu/~15745/syllabus.html
Excellent work and so nice of them to post it for free.