Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions

Submissions

comment 4y ago · link · parent

Non-paywall link?

comment 4y ago · link · parent

Refinement types is exactly what you are looking for. Languages like F* (F-star), Dafny, and Liquid Haskell are good examples.

comment 4y ago · link · parent

Refinement types (for example) can be used to prove the code correct before even running it. Assertions typically can’t do that.

comment 4y ago · link · parent

Even better: Dependent Types combined with Refinement Types. See F* (F-star).

comment 4y ago · link · parent

The computing world has never standarized on anything. And Lisp/Smalltalk aren’t the magic bullets you seems to think they are.

comment 4y ago · link · parent

> A serious take on a contract-based language

This already exists: programming languages that supports refinement types. Examples are Liquid Haskell and F* (F-star).

comment 4y ago · link · parent

Yep that’s the one.

comment 4y ago · link · parent

What an excellent read. Content like that is why I read HN.

comment 4y ago · link · parent

Well written compilers for functional programming language do not copy immutable data. I recommend searching for “Immutable Data Structures” to see how you can implement very high performance immutable data structures. Haskell and Closure (for example) does this and Haskell is faster than most imperative languages out there. I recommend learning more about this subject.

comment 4y ago · link · parent

Software written in C/C++ runs the world. Including the operating systems, VMs, interpreters etc. running (almost) all other languages. It is the bedrock that everything rests on. So learning C is highly relevant. It will take decades (if not forever) for Rust to get even close to achieving that kind of impact.

comment 4y ago · link · parent

Yep exactly. If you truly want to understand low level then the only right answers are C or Assembly language.

comment 4y ago · link · parent

I highly recommend his book. A great enlightening read.

comment 4y ago · link · parent

It’s great to see that proving code correct is starting to make inroads into commercial software development. Perhaps the term “Software Engineer” should be reserved for software developers who have the training/skills to formally prove software correct? The same way that Engineers in other industries have the formal training/skills needed to use mathematical models to build/construct correctly?

comment 4y ago · link · parent

5% of the work is getting it working. 95% is to make it polished and work well on all platforms, in all countries, in all legal and social contexts, and in all failure contexts. Most developers have zero clue what it takes to turn working code into a globally successful product.

comment 4y ago · link · parent

Wow. It is rare to see a truly simple to use but powerful user experience like this one. Kudos to the designer(s).

comment 4y ago · link · parent

Agree. Remote work requires you to be more disciplined about separating work from non-work.

comment 4y ago · link · parent

This is how Houdini works. Houdini is the tool used for Sfx.

comment 4y ago · link · parent

Trying to power through burnouts is seriously dangerous for your long term mental health. Don’t sacrifice your long term mental health for short term gains or to make your CEO rich. If you really really can’t take a break (I call BS on that btw) then time limit the number of hours you spend working. Yes seriously. And if that doesn’t work then lower the daily time limit until things start improving, and spend the rest of your time away from the keyboard. Walking, reading, playing, listening to music, with friends etc.

comment 4y ago · link · parent

What a silly question. Would you prefer to be operated on by a skilled brain surgeon with 20 years of experience or a person off the street with a great attitude? Unless by attitude you mean “ability to bullshit VCs into giving you money” of course.

comment 4y ago · link · parent

Smart experienced developers use the least complex tool to solve a problem. And monoliths are inherently less complex than microservices. So it’s quite simple really.

Unfortunately “beginner experts” tends to pick the most complex tool possible to solve a problem, because they think it somehow demonstrate how skilled/smart they are. Which always amuses the more experienced developers. It’s like watching a train wreck in slow motion :)

I am looking forward to reading the future “we picked microservices because we thought we were clever and it turned into a cluster f*” stories.

comment 4y ago · link · parent

Nope. Microservices are guaranteed to be more complex than an equivalent monolith. It constantly blows my mind that it isn’t obvious to some developers. A distributed system (microservices) is always more complex than a non-distributed system (monolith).

comment 4y ago · link · parent

Not my experience at all. It takes the same skills to manage a monolith as it does managing microservices. However microservices are inherently more complex than monoliths. So they are harder to keep clean/maintainable. All complex problems/systems are solved by breaking them down into smaller problems/systems that can be solved. Using microservices doesn’t make that easier. It actually makes it harder because you now also have to deal with the complexity of a distributed system.

comment 4y ago · link · parent

Apparently Google is doing fine without Microservices.

comment 4y ago · link · parent

That’s what Google does. Seems to work fine for them.

comment 4y ago · link · parent

… which often turns everything into siloes not talking to each other, using different languages/tools/processes/release plans. No thanks.

comment 4y ago · link · parent

If you don’t have the skills to write modular maintainable monoliths then you most definitely don’t have the skills to implement modular maintainable microservices. It’s the same skills required to do both: the ability to break down a complex system/problem into a number of simpler systems/solutions/modules/libraries/services/… so that the complex system/problem can be solved by composing those simpler systems/solutions/modules/libraries/… into a single system/monolith/…

comment 4y ago · link · parent

What is the Meaning of non-Meaning?

comment 4y ago · link · parent

That frankly sounds hard to believe. Which proof tool did he use? Link to paper?
1
474849
116