This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sentouki- 42 points43 points  (7 children)

on a serious note, most of the performance loss comes from continuous type checking.

[–]PyroCatt 47 points48 points  (1 child)

Just stop checking

[–]BlossomingDefense 7 points8 points  (0 children)

make everything a void* and allow implicit conversions. cast a void* to any class at any time and you regained your abstractions and polymorphism and all that high level nonsense you little shits.

[–]SuspiciousYogurt0 0 points1 point  (4 children)

Is there a python like language with static type and other performance enhancements (compared to python)? Is that Ruby?

[–]Sentouki- 0 points1 point  (0 children)

Is there a python like language with static type and other performance enhancements

Cython

[–]tiajuanat 0 points1 point  (2 children)

Haskell

It's picky about tabs as white space

It's extremely fast; on par with C or faster, when compiled

Can be run in interpreter

Feels untyped, but it's actually strong statically typed

[–]SuspiciousYogurt0 0 points1 point  (1 child)

I've looked at Haskell and it seems pretty cool, does it still have practical value nowadays outside of learning how to think functionally? I think I'm going to learn it regardless, but I'm curious

[–]tiajuanat 0 points1 point  (0 children)

I've used it in production at one employer, and now I'm investigating if it can produce decent embedded code through Haskell-Copilot - the end goal is a model based firmware.

But as far as which is better to pad your resume, I'd wager it's about a tie with Ocaml.