News for hackers. Stuff that matters.
Re:JEP 295: Ahead-of-Time Compilation by WatchDog on Thursday October 27, 2016 @05:23PM (#12810334)
A lot of firms will run some training data through their application after startup, so that the hot paths get optimised.
Re:JEP 295: Ahead-of-Time Compilation by kasey_junk on Thursday October 27, 2016 @06:30PM (#12810914)
I have done this so can confirm, but every time I did I wished I didn't need to. I had a running nightmare where yesterday's trading data made us trade today.
Re:JEP 295: Ahead-of-Time Compilation by greglindahl on Thursday October 27, 2016 @10:17PM (#12812492)
Or today's trading is different enough from yesterday's that your app hits perf issues. Black swan, anyone?
Re:JEP 295: Ahead-of-Time Compilation by brianwawok on Friday October 28, 2016 @02:22PM (#12819142)
Might not even be that. At some point you need to cut out the output from going to the real exchange.

If you had an IF somewhere random in your code.. you will then JIT code that is wrongly optimized.

If you try to put some kind of network device to capture the traffic and respond with fake responses to make the code happy.. you are one bitflip away from sending bad stuff to prod.

Re:JEP 295: Ahead-of-Time Compilation by kasey_junk on Friday October 28, 2016 @02:27PM (#12819201)
> you are one bitflip away from sending bad stuff to prod.

Including some ascii art of Trogdor the Burnanator!

Re:JEP 295: Ahead-of-Time Compilation by brianwawok on Friday October 28, 2016 @03:41PM (#12819911)
Ya that is tricky with binary formats. What exchanges still support ASCII? I want to send messages that are both ASCII art and a valid trade...
Re:JEP 295: Ahead-of-Time Compilation by brianwawok on Friday October 28, 2016 @12:21PM (#12817656)
Except at the exchange, where you can't do this. Or you accidentally bitflip something and take yesterdays data, inject into todays books, and cause millions of dollars in mistakes.