• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Most Unfortunate Project CodeName

 
Bartender
Posts: 1064
33
Eclipse IDE Postgres Database C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While this formally violates the rule of "has nothing to do with Java", it does relate to "nothing of use to effectively programming in Java", so I'd rather bend this rule than pollute the Java forum.

As I review all the (many) primitive specializations of the standard functional interfaces in java.util.function, which while consistent have a taxonomy more commonly seen in biology than practical computing...

I remember that these were expected to be able to evaporate when Project Valhalla arrived.

I also remember that we were originally expecting it some number of Java releases back.

I further recall that unless I remember incorrectly, one could only get to Valhalla as a fallen hero, i.e. dead.

This seems to me to be as unfortunate a nickname as if they had code-named the slowest release of Java/JVM ever seen "Project Turtle" or "Project Snail".

I'd still much rather be working in Java than in PHP, assembly or C, and probably JavaScript, so I am not dissing Java.

But we have been waiting to be able to use primitives in ways we could use reference variables, without just a torrent of auto-boxing and unboxing for some time now, haven't we?

Valhalla indeed.
 
Jesse Silverman
Bartender
Posts: 1064
33
Eclipse IDE Postgres Database C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will add that I certainly see why adding this to Java while maintaining full backward compatibility and working for all corner cases seems to be in-between "Very Difficult" and "Impossible":
http://openjdk.java.net/jeps/218

I won't hold my breath, but it is something I am reflecting on while learning Functional Interfaces and Streams to the standards of the OCJP 819.
There is a lot of "stuff" involved in doing everything efficiently avoiding auto-boxing, stuff to learn, stuff to remember, stuff to not screw up while coding...

I don't feel like not having primitives at all would be a better solution, as common as that is.
Among other things, I see that Oracle has extended the functionality of basic arrays to ease the pain...

Whatever, back to all the stuff.
 
Jesse Silverman
Bartender
Posts: 1064
33
Eclipse IDE Postgres Database C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I realized later and forgot to mention here, which didn't attract a lot of excitement, that many of the code names are geographic references.

There aren't a lot of heavily populated places named Valhalla, but some very scenic ones, maybe it is just a geographic reference.

If not, I am both charmed and bemused that they named such an important project after a place you can only get by dying in battle, and being dead.
 
Marshal
Posts: 73766
332
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Valhalla is where Vikings go when they die, so you can expect to find dead code there.
 
This is awkward. I've grown a second evil head. I'm going to need a machete and a tiny ad ...
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic