5 ms·
Kvikkalkul: the secret programming language of the Swedish Navy?
- deleted 12y ago[deleted]
- hnlauncher 12y agoIs there any proof whatsoever for this? I'm extremely skeptical because the first post Usenet post warns that you'd be sentenced to death if you were in possession of information about Kvikkalkul. Sweden hasn't practiced capital punishment since 1910.
- Zirro 12y agoThe language appears to be fiction beyond these Usenet posts, and the same goes for the mentioned "SABINA" computer. Capital punishment, brought up as a common consequence of possessing this information in Sweden is, of course, incompatible with current Swedish society. The Swedish Wikipedia has an article about it (describing it as likely being fiction) here: https://sv.wikipedia.org/wiki/Kvikkalkul https://sv.wikipedia.org/wiki/Kvikkalkul (I am Swedish.)
- Zak 12y agoCapital punishment was incompatible with Swedish law at the time of the posting as well. The Swedish constitution has prohibited it since 1975, but it was long-since abolished in practice, the last execution having taken place in 1910. https://en.wikipedia.org/wiki/Capital_punishment_in_Sweden https://en.wikipedia.org/wiki/Capital_punishment_in_Sweden
- Zirro 12y agoIndeed, by "current" I had the last fifty years in mind. It seemed appropriate at the time of writing given that we speak of major changes to society, but perhaps there is a better word to describe this particular period of time.
- jwcacces 12y agoThat's what they want you to believe!
- Zirro 12y agoI suppose I'll just have to wait and see if there's some capital punishment coming my way ;-)
- schoen 12y agoI was going to say "also, isn't the Swedish word for 'quick' snabb?" But then Wiktionary told me that there is, in fact, also a word kvick with a similar meaning. Extra bonus: it turns out that quick/kvick is cognate with Italian/Spanish/Portuguese vivo 'alive' (which makes the older sense in "the quick and the dead" make more sense, too!).
- davidweir 12y agoIn addition to "the quick and the dead", it also appears in the idiom "(cut) to the quick", meaning to cut someone deeply - usually emotionally. https://en.wiktionary.org/wiki/cut_to_the_quick https://en.wiktionary.org/wiki/cut_to_the_quick https://en.wiktionary.org/wiki/to_the_quick https://en.wiktionary.org/wiki/to_the_quick Take it back further, and it's cognate with bíos in ancient Greek, whence the prefix bio-.
- unwind 12y agoThere is "kvick", sure. But "kalkul" certainly isn't a word. The closest match would be "kalkyl". So the language seems to be named by messing up the spelling of two words, which I guess isn't impossible but still somewhat ... weird.
- m_eiman 12y agokvikkalkul sounds Norwegian rather than Swedish. It'd mean "fast calculation", more or less. There's also Plankalkül by Zuse: https://en.wikipedia.org/wiki/Plankalk%C3%BCl https://en.wikipedia.org/wiki/Plankalk%C3%BCl
- kjs3 12y agoThere is an Ada to kvikkalkul translator and most new programs are written in Ada and then translated to kvikkalkul. The kvikkalkul version was the definitive program that was reviewed, approved, tested and maintained. There was also a Simula to kvikkalkul translator in the 70s and some programs were written with it. Nope nope nope...my suspension of disbelief popped right there. Great troll, tho.
- deleted 12y ago[deleted]
- TeMPOraL 12y ago"Apart from real-time submarine applications such as guided torpedo control, I did an accounting package in kvikkalkul as well." Yeah, sounds legit. I got a good laugh though.
- sugarraps 12y agoHe probably got the capital punishment. Saying that "I did an accounting package" doesn't seem like a great way to stay anonymous.
- captaintod 12y ago<!--This file created 2:13 AM 7/29/99 by Claris Home Page version 3.0-->
- TeMPOraL 12y agoI'm thinking about implementing a kvikkalkul interpreter in Common Lisp. Sounds like a fun weekend project.
- integricho 12y agoShare on HN when finished :)
- ShaneWilton 12y agoI've got a Ruby implementation underway. The parser and lexer works, and I just need to write a quick VM now: https://gist.github.com/ShaneWilton/62e72a36759aaacabd84 https://gist.github.com/ShaneWilton/62e72a36759aaacabd84 The code is a little rough, but it works.
- vl 12y agoHaha, Quick Calcul[ation].
- CmonDev 12y agoQuickcalcul?
- mhomde 12y agoAs a Swede I'm pretty sure Kvikkalkul is not something we'd name a programming language, it sounds more like Norwegian or Icelandish As a sidenote I heard an anecdote about a guy who programmed warheads. He was writing the detonate code wondering how to exit gracefully when it exploded so he wrote something like: 10: var a=5 20: Detonate() 30: If (a==5) goto 10; 40: Exit; The logic being that the variable should be empty upon explosion...
- ChartsNGraffs 12y agoLanguage development has since been taken over by IKEA and it's main use right now is programmatic furniture generation. http://www.ikea.com/us/en/catalog/categories/series/18329/ http://www.ikea.com/us/en/catalog/categories/series/18329/
- ChrisArchitect 12y agothis reminds me of FikaScript, the Swedish Javascript generator http://fikascript.se/ http://fikascript.se/