5 ms·
I was expecting a comparison in development effort rather than performance, since that's the strength of Python. System performance is not necessarily a priorit
by Phrodo_00 4y ago
I was expecting a comparison in development effort rather than performance, since that's the strength of Python. System performance is not necessarily a priority of Python, and no one would expect it to be comparable to a language that compiles to machine code without using something like pypy, and even then it'd be likely to lose.
If we're comparing it for system performance I'd expect comparisons to other high level compiled languages like Rust, D or C++.
- Mo3 4y agoEven that is highly questionable. Try implementing hexagonal patterns with Python.. the first thing you get to read is about how that is not the pythonistic way. Nothing against Python, it is favorable for beginners and engineers in different fields, but at the point where even Node starts outperforming Python by 10x and you actually want to implement bigger systems you might wish for something different. I don’t see the need to specifically compare Go to either high or low level languages. It sits comfortably right between them and is perfect like that. (This might be an opinionated comment, but I’d love to see anyone try implementing a public API with a dozen of adapters and ports in C++.)
- pkaye 4y agoNever heard of hexagonal patterns (architecture?) but it look like a lot like what my go project architecture at work looks like. Time to learn more about it...
- pjmlp 4y agoWell, that is how we used to do, when servless was known as CGI, Apache modules or ISAPI extensions, or microservices where known as SunRPC, CORBA or DCOM endpoints.
- Mo3 4y agoPoint taken, that was before my time. I can't imagine many of these being around any more though
- pjmlp 4y agoSince we are on a Google language thread. > The libraries we are releasing come with a pedigree: many years of experience using these APIs in Google’s production environments. We’ve seen what works and what doesn’t, what designs lead to bugs, performance problems, and misuse. What you see here is what we found to be a good balance between simplicity and meeting the needs of production use and an ever-evolving codebase. From Google's C++ open source framework, https://abseil.io https://abseil.io, mostly accessed via gRPC, the new fashion for Sun RPC, CORBA, DCOM.
- lenkite 4y agoWhat are these "hexagonal patterns" ?
- Mo3 4y ago- Awesome architecture: https://awesome-architecture.com/architectural-style/hexagonal-architecture/ https://awesome-architecture.com/architectural-style/hexagon... - Netflix tech blog: https://netflixtechblog.com/ready-for-changes-with-hexagonal-architecture-b315ec967749 https://netflixtechblog.com/ready-for-changes-with-hexagonal... - Wikipedia: https://en.wikipedia.org/wiki/Hexagonal_architecture_(software) https://en.wikipedia.org/wiki/Hexagonal_architecture_(softwa... - Article by the inventors themselves: https://alistair.cockburn.us/hexagonal-architecture/ https://alistair.cockburn.us/hexagonal-architecture/
- lenkite 4y agoUpvoted, but really - this should be called "quad" or "square" architecture. Still confused on why they used "hexagonal".
- Mo3 4y agohttps://herbertograca.files.wordpress.com/2018/11/100-explicit-architecture-svg.png https://herbertograca.files.wordpress.com/2018/11/100-explic... It's definitely not a square, and a circle would imply no difference from either point of view of the circle.. At least that was always my assumption on that lol.