Batteries? Assuming a $150/kwh cost for batteries, that would be $14,700 for a 98 kwh pack, or $19,650 for a 131 kwh pack. I think the rumor is that GM is hoping to hit ~$100 for their batteries in 2025. It will be a game changer once batteries get below $50/kwh. And some Chinese batteries are getting close.
An architecture I've been using lately is writing a functional core in F# and importing the library in both C# API backends as well as React frontends. As you know, Fable can compile to TS which you can import into your node application.
This means that you can have a team of C# developers writing in a language they are familiar with, a team of node/TS developers writing React and a team of F# developers working on a pure functional core with all of the business logic. Write your validators in F# can you can share the same logic for a form in the UI and an API endpoint on the backend.
In my opinion having type inference, discriminated unions, computation expressions, et al., makes for a very concise and expressive way to model the core logic of an application.
That changed in the last decade, among other things the population is dissatisfied with immigration.
I cannot tell you if that is justified, but I can say from personal experience that in some cases the praised Dutch directness turned to racism.
Things like, people not believing that you have a phd, or refusing to take your credit card because the color of skin does not match the ethnicity of the name.
> but I can say from personal experience that in some cases the praised Dutch directness turned to racism
It always was a thin line. What has changed is that victims are now speaking up, and a silent majority realizing that brutish-directness always was a subgenre that somehow kept being taken as representative of directness.
One can be direct and courteous (and not racist), but the Netherlands (as in Holland) isn't the best place to find that.
The Netherlands has a higher population density than the US (520 people per square km vs 37) and lower GDP per capita ($62k vs $82k), so I'm not sure if that framing is exactly useful. In absolute numbers, yes, there's fewer people, but they're packed into a very small area so you have to be smart about how you do that.
When it comes to resources Norway and the Netherlands are radically different. But it's in how the resources were used not in whether they existed. The Dutch had a lot of North Sea gas but they, like the UK, squandered the income from it. Norway was lucky to avoid what has become known as the Dutch disease partly because Norway was later to the party.
Is there a variant of Prolog that is less dynamic with AoT compilation?
Imagine if you can be in "dynamic mode" where you can add rules, facts, etc. in an adhoc way.
Then, once your game is better defined, you can compile the Prolog to native code so that it is highly optimized, executed in parallel, etc. The compiler could apply all sorts of optimizations we see in commercial game engines automatically.
This compiled object could then be embedded into a game engine with native performance.
Done right, this could even outperform imperative game engines, but be very easy to debug and modify.
So much of the "magic" with Prolog and similar relational languages necessarily happens with dynamic data at runtime (especially in a game engine where entities move around, etc so the state of relations changes significantly) I'm not sure how much static you could get with it.
That said, there's plenty of research in the DB world on precompiled and JITted query execution plans. All of that would apply to a Prolog or Datalog engine as well.
Also, a personal interest of mine I keep wanting to come back to is how much one can make use of GPU and TPU hardware to accelerate the joins that go on in these systems. There are people working in this space already: https://arxiv.org/html/2311.02206v3 but I believe their emphasis is on large scale data sets (e.g. big data graphs) whereas I'm curious to see if there's a way that an approach using HW acceleration could make low latency "OLTP" type applications possible for applications like robotics/vehicle autonomy/games, using complex rule sets.
I watch my son play Dwarf Fortress and I'm like... it needs a Prolog.
The most similar thing to a "static" Prolog would be Mercury[0] or Turbo Prolog[1]. OTOH, if you want an embed-able logic programming library there is the mini/microKanren family[2].
I didn't expand on that but actually that system was part of a global network; entirely separate from the Internet. There was MS Outlook installed on the terminal nodes. One can see how somebody could become nervous about not having AV on the nodes and come up with a "protection" scheme like the one I described.
1. Structural sharing - most data doesn't change so you create a copy that reuses much of the original structure
2. Garbage collection and lexical scopes - you clean up memory quickly and in batch
3. Compiler optimizations - you turn functional constructs into imperative ones that reuse and mutate memory at compile-time, where it is provably safe to do so
Is it cost of production being passed on or did the marketing department decide to do some "prestige" pricing?