|
|
Log in / Subscribe / Register

A rift in the NTP world

A rift in the NTP world

Posted Feb 15, 2017 17:46 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
In reply to: A rift in the NTP world by dublin
Parent article: A rift in the NTP world

> C is the only rational choice for things that truly need to be fast and as close to the metal as possible. (Assembly is the best choice for true performance and reliability.)
No, it's not. And assembly? LOL.

Hint: lots of hard-realtime trading systems are written in... Java. And these systems are not these laughable cases like stability control in cars where a failure simply leads to lost lives. If a trading system failure occurs then a much worse outcome happens - people lose MONEY.

> Operating at real-world timescales, you probably don't even want the OS in the loop for timing critical processing - modern OSes and hardware are now fast enough to really give you a false sense of security about the ability of a system to reliably do hard realtime control - "statistically works almost all the time" is NOT the same as "will work every time, guaranteed" - the latter is required in life-critical applications.
WTF OS has to do with the language of a fairly simple daemon? And IoT? You've forgotten to mention Machine Learning and Big Data for the complete Bullshit Bingo.

NTP is designed to do one thing - synchronize clocks of computers across the wide-area network. It needs to be as good as the network jitter, which for regular Internet is usually within multiple milliseconds.


to post comments

A rift in the NTP world

Posted Feb 16, 2017 16:28 UTC (Thu) by Wol (subscriber, #4433) [Link] (1 responses)

> > C is the only rational choice for things that truly need to be fast and as close to the metal as possible. (Assembly is the best choice for true performance and reliability.)

> No, it's not. And assembly? LOL.

Which is why a lot of time critical stuff was (and is) written in Fortran.

Fortran was the language of choice when simulations had difficulty keeping up with the real world, for example in weather forcasting ...

Cheers,
Wol

A rift in the NTP world

Posted Feb 16, 2017 19:23 UTC (Thu) by Cyberax (✭ supporter ✭, #52523) [Link]

Oy vey...

Weather stuff is written in all kinds of languages. It does NOT need to do anything realtime, just fast enough. Fortran is used simply because the earliest models hark back to the beginning of 60-s.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds