Better HN
topnewbestaskshowjobs
Log inSign up

grumpyprole

4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions

Submissions

comment 3y ago · link · parent

> I'm in Europe, and also believe that iPads are unbeatable when talking about price - in both nominal and price/value ratio sense

The problem with iPad is that if you want a larger screen you have to get the very expensive iPad Pro. For large screen sizes, the Android ecosystem is much better value.

comment 3y ago · link · parent

Mojo compiles "Python" to heterogeneous hardware, I don't believe that has been tried before.

comment 3y ago · link · parent

Yes, but also tech in general provides new and innovative ways of implementing vendor lock-in at unprecedented scales. Left unchecked, Apple could easily take much more existing commerce, finance and numerous other business, leveraging their existing platforms.

comment 3y ago · link · parent

I agree that most will be fine with a monolith, I never said anything to the contrary. But let's not pretend that the limits don't exist and don't matter. They matter to my company (and we're not Facebook or Google, but we're far older and probably have more code).

comment 3y ago · link · parent

Pixel users get the new android releases and the corresponding bugs first. I've never owned a Samsung phone with such serious bugs as those described in the linked article above, such as not being able to use a DAC.

comment 3y ago · link · parent

> without the Samsung bloat

That's one way of spinning it. Personally I'd rather have all the Pixel users beta test Android, so I can get the bug fixed version from Samsung.

https://www.androidpolice.com/google-pixel-6-bug-tracker/

comment 3y ago · link · parent

Let's imagine Facebook, we can partition the monolith by user, but you would need the entire code base (50+ million lines?) running in each process just in case a user wants to access that functionality. I'm not saying one can't build a billion dollar business using a monolith, but at some point the limit of what a single process can host might become a problem.

comment 3y ago · link · parent

Sure but there's still limits such as the binary size and working memory etc

comment 3y ago · link · parent

> The challenge in monoliths is that the boundary is so easily breached

The biggest challenge with monoliths is the limits of a single process and machine.

comment 3y ago · link · parent

> You can’t really change what people want without enacting dystopian/fascist policies.

Yes you can, you can educate them. Decide on how to categorise the environmental impact of each car and mandate that it is labelled as such. Unless you deem such regulation as dystopian?

comment 3y ago · link · parent

Don't forget Ada/Spark and ATS.

comment 3y ago · link · parent

This is where tooling can help. An IDE could display the type next to all auto symbols if you want. Or allow you to query it with a keyboard shortcut. This gives the best of both worlds, rather than forcing everyone to write out the types all the time. Sometimes we simply don't care what the exact type is, e.g. if it's an object created and consumed by an API. We still want it type-checked, but we don't want to be forced to write out the type.

comment 3y ago · link · parent

You are confusing dynamic types with type inference.

comment 3y ago · link · parent

> What types of issues do you experience?

In GHC Haskell, it can be difficult to predict the lifetime of heap objects and control when objects are not shared (optimisations may or not lift terms out of a local context).

comment 3y ago · link · parent

It's an entire fork of the Python ecosystem. So not really that much different to what we have here. Maintaining an ecosystem of libraries and tools is the hard part, not a compiler or interpreter.

comment 3y ago · link · parent

Sounds like you just need more practice. Haskell is more expressive than most other languages and offers much more consistent and powerful abstractions. This does result in more productivity once the learning curve is overcome.

comment 3y ago · link · parent

> I do wonder if one might get those same benefits in another language without the problems which seem to crop up with Haskell

Not until other languages raise their game. Nothing compares to Haskell for productivity and I've tried many different languages professionally over the years (including Haskell). But yes, reasoning about what happens operationally is the big problem.

comment 3y ago · link · parent

Why is it any different to "bank python" used by e.g. JPMorgan or BAML? Or Google writing Dart?

comment 3y ago · link · parent

You won't need a Haskell PhD to work at a bank, even one that uses Haskell.

comment 3y ago · link · parent

He probably means that GHC will parse and type check faster. Switching the front-end doesn't sound like it will circumvent the whole program nature of their compilation. But I'm just guessing.

comment 3y ago · link · parent

I agree but the context was interpreters. GraalVM is a compiler, it JIT compiles bytecode into machine code.

comment 3y ago · link · parent

Well implementing all the OOP semantics and such could complicate and dilute the essentials. A simpler language would also make it easier to cover more ground, such as type checking. So I don't think it sounds ideal from a pedagogical perspective either, but again, I haven't read the book.

Note that Lisp in Lisp (SICP) works well because Lisp itself is very simple and just the essentials. It's just one chapter in SICP.

comment 3y ago · link · parent

Not the parent and I've never read that particular book, but the premise seems rather bizarre to me, where is the excitement in implementing a slow version of Java in Java? If anyone is going to want to implement a custom interpreted language, it will likely be very different to Java, e.g. Lisp, the core of a DSL or configuration language. But it's still going to probably have functions and data types. Writing Lisp in C is exciting, one is moving up the abstraction hierarchy, building a more expressive and powerful language.

If one wants to learn specifically how Java works, then maybe a book on compilers would be better?

comment 3y ago · link · parent

They get the all love because they were not only technically excellent for their time but also affordable, they are we what we had. The Apple Mac was something I only read about.

comment 3y ago · link · parent

Yes the AppleII priced itself out of the 8-bit home computer market. I never saw one in the UK in the 80's. One could get the same tech (6502) with an equally good BASIC and OS for less than half (e.g. Acorn BBC Micro was my choice).

comment 3y ago · link · parent

Wow that's pretty misleading

comment 3y ago · link · parent

VMs still probably a better fit for dynamic languages. But modern Java doesn't really need a VM.

comment 3y ago · link · parent

> The quality standard has already been met

I acknowledged in my first post that a particular quality standard had already been met by AI. I also concede that this quality standard could be sufficient for many businesses. God help us all if it's 90% of businesses.

comment 3y ago · link · parent

Is that where your 90% estimate comes from? Browsing Reddit? You are the one with the extraordinary claim (and it therefore requires extraordinary evidence).
1
111213
69