Hacker Newsnew | past | comments | ask | show | jobs | submit | mc13's commentslogin

Java is probably 10 times faster than JS and Pyrhon.


> Java is probably 10 times faster than JS

I don't wish to start a language flame war here. We're beyond that.

But by what measure? Doesn't this depend on what you're doing?


If you say "probably" doesn't that mean it is not really certain if it is that way? May be, may be not. Maybe probably 10 times faster?


I believe refied generics are being worked as part of project Valhalla. Here's a related JEP which I could find.

http://openjdk.java.net/jeps/218


From that JEP: "It is not a goal of this effort to produce fully reified generics."


DHH has always been against the VC culture.


Thank you very much for writing this. I needed this.

I recently joined a new workplace and realized that everyone around me were talking too much for asking simple questions, questions which would normally require a sentence or two.

My previous workplace was small "startup" company around 20 employees, where questions in conversations were simple and straight to the point.

This is inconstrast to my new workplace which is a big corporate company with a few thousand employees. I honestly felt a little stupid the first few weeks.

Unfortunately, my take away from reading this, is to turn my child like questions into more adult like, to fit into the corporate culture.


Exactly, i deal with a few of data processing programs, wish my more experienced colleagues told me about these algorithms before, but doesn't this algorithm only compute an approximation and not the exact value ?


To about the extent that a 64-bit float can ever be said to contain an exact value, this algorithm will compute the exact value. There's no sampling.


It is definitely possible to specify the type of the parameter(s) in a lambda expression in Java.


save


"While the H1B visa program has a complicated impact on the labor market, in this analysis we look at one common misperception about the program: that it represents a source of “cheap” foreign labor for U.S. employers.

To the contrary, we find that H1B workers today are paid slightly above similar U.S. workers in the same city and job according to Glassdoor data — about 2.8 percent more on average. Whatever the pros and cons of the program, low pay for H1B workers isn’t something we see in the data."

From the article you linked.


This takes into account -- all H1B workers --. For Tech H1B's, which I clarified, this is a different story.

>By contrast, there are many examples of jobs where H1B workers usually earn less than U.S. workers — despite legal requirements that employers pay “prevailing wages” to H1B workers. Four examples of these types of jobs are shown in the table below: data scientist, financial analyst, programmer analyst, and software engineer. In these cases, H1B workers usually earn less than otherwise similar U.S. workers.

>For example, among software engineers, H1B workers earned less than or equal to U.S. workers in every city we examined, ranging from equal median salaries in Seattle to -17 percent less in Chicago. Similarly, H1B salaries for programmer analysts were lower in nine of the 10 cities we examined, ranging from -1 percent in Atlanta to -28 percent in Chicago and Washington, D.C. (H1B pay for programmer analysts was 7 percent higher in one city: Philadelphia).

It doesn't seem to list any tech jobs that are paid above US workers either, only below & at average. I am not saying all H1B workers are paid less than US citizens.


Most of these studies do not take into effect the "cost to companies" for hiring h1b employees. They are higher than citizens. Plus h1b pay taxes, and SSN tax which only a tiny portion of them claim back


Great! Benchmarks of TruffleRuby vs JRuby vs Ruby looks very promising. edit: https://pragtob.wordpress.com/2017/01/24/benchmarking-a-go-a...


If we can successfully JIT it we normally do very well. The caveat is that we do have warm up time and if we can’t compile stuff then you won’t see the same level of performance.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: