4 ms·
Yet our browsers blow the page up to 100 or 1000 times that.
by mbertschler 9y ago
Yet our browsers blow the page up to 100 or 1000 times that.
- lifthrasiir 9y agoProbably you should first consider that our browsers contain a fully capable programming system which this golfed program abuses as an expression evaluator. :-) By comparison, this C program [1] (hints are at [2]) is a stripped down spreadsheet program for X, and it only has an RPN evaluator (probably to make a room for graphing features?). [1] http://www.ioccc.org/2000/jarijyrki.c http://www.ioccc.org/2000/jarijyrki.c [2] http://www.ioccc.org/2000/jarijyrki.hint http://www.ioccc.org/2000/jarijyrki.hint
- vidarh 9y agoHilariously Chrome offers to pass the c code through Google Translate (with predictably useless results)
- dannyw 9y agoLanguage detection works on language trigrams, and are trained on human language. I bet punctuation is stripped during preprocessing. So it's not surprising that code will have false positives.
- vidarh 9y agoNot surprising, but still funny when applied to obfuscated code.
- deleted 9y ago[deleted]
- ajnin 9y agoAmusingly it detects that the code for the RPN calculator is in Polish. Maybe it's smarter than it seems.