Better HN
topnewbestaskshowjobs
Log inSign up

binarycrusader

3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions

Windows Developer @Microsoft. Hobbyist Game Developer. My words are my own and not those of any affiliate or employer. Formerly: Solaris Principal Software Engineer at Sun Microsystems/Oracle.
Submissions

comment 12y ago · link · parent

There's no indications yet that it won't be. I suspect a large part of it will be part of a timed-release with their next merge to LLVM. But only Apple knows for sure.

comment 12y ago · link · parent

You can actually read the language reference with a "standard browser":

https://developer.apple.com/library/prerelease/ios/documenta...

comment 12y ago · link · parent

Because they've priced their service and agreements at a level that assumes that someone isn't running a business using their super-cheap Google Fiber connection.

It's all about economics, SLAs, etc. and network management.

They've already addressed this directly by mentioning how they plan on launching a business product eventually.

I'm perfectly ok with that.

comment 12y ago · link · parent

I use multiple; depends on what I'm doing.

Solaris for most Dev work; Linux for a little, Windows for the rest.

comment 12y ago · link · parent

No, not with producing unaligned accesses, a problem with unaligned accesses in the LLVM code itself.

They're worked around by forcing alignment at the cost of performance if I remember correctly, or in some cases, they're not and cause LLVM to fail.

The alignment problems may be unique to the SPARC backend of LLVM, but I don't recall the specifics.

comment 12y ago · link · parent

LLVM is currently not suitable for SPARC at all; it's existing SPARC backend was, to put it kindly, not written by someone intimately familiar with the architecture. There are problems on other architectures as well. ARM and x86 are really the best maintained (unsurprising).

Regardless, one of LLVM's biggest problems internally is the number of unaligned accesses, which hurts its performance on many architectures (except x86 of course, where the penalty is very minor). That's not specific to SPARC, but it does hurt performance there quite a bit as well as cause other problems.

comment 12y ago · link · parent

You're right; I don't think your tradeoffs are as reasonable as you believe, and I don't think they're tradeoffs that most would be willing to make.

The reality is that those "minor" platforms you refer to are ones where a lot of big iron and expensive systems are. While Go / LLVM will eventually be supported on them, Go is still a very large dependency, and is currently not suitable for OS systems programming.

If you did choose to write a new security library in Go, and supposing that the shared library issue was addressed, you'd still have to severely constrain the design of the library to ensure maximum interoperability.

I'm just not sure it's worth the compromise.

Rust, if it was ready, and its runtime dependencies were also better supported, would be far more appropriate than Go.

comment 12y ago · link · parent

Rust unfortunately has a dependency on LLVM, which is not yet available for some hardware and OS platforms. I realize that's improving, but it does make Rust adoption slower for systems programming where languages that only require a standard C or C++ compiler thrive.

Also, while I think it will likely prove a great alternative (especially for OS level systems programming), it's clearly early days and the language is still undergoing significant churn.

comment 12y ago · link · parent

Go or D is a very large set of dependencies for a security-focused library and hence unlikely to be suitable for a project like OpenSSL that is designed for use everywhere and by everyone in every language. Security code that needs to be audited should be as minimal as possible.

Go and D are also not yet available for every platform and would force a set of design constraints on consumers that would likely decrease its attractiveness as a solution.

Again, C remains the best choice given the goals I mentioned. It's also why I said OS systems programming and not just systems programming.

comment 12y ago · link · parent

They're dismissive of your comments because you don't understand that most OS systems programming realistically has to be done in C.

If you want to create a library like OpenSSL that every consumer in every language can use, C is your only practical choice.

comment 12y ago · link · parent

You shouldn't keep people out that have older browser versions.

Instead, you should prompt the user and warn them that their browser has not been tested and is not supported, but they may continue.

comment 12y ago · link · parent

No, if you read the very fine article, you'd see that users specifically were encountering problems running apps. Some users were unable to run the apps getting unexpected errors when trying to do so despite what you say.

comment 12y ago · link · parent

I frequently hear WebGL recommended instead as a good place to start; that way you get 'modern' OpenGL without much of the hassle.

comment 12y ago · link · parent

Most languages that are whitespace sensitive don't actually allow you to mix indentation. In fact, Python 2 will give you an error saying that a particular line doesn't match indentation level if it's a different number of spaces and 3 will give you a warning (and since warnings can be made into errors...).

comment 12y ago · link · parent

I'm using FireFox 29 on Solaris and don't see the CPU usage problem.

comment 12y ago · link · parent

It's not open source; it's subscription-only source. Please don't start that rumour.

comment 12y ago · link · parent

No problems here, but it does have several Adobe Flash embeds.

comment 12y ago · link · parent

In my opinion, we're talking about data types / data structures, which neatly avoids that discussion :-)

comment 12y ago · link · parent

SPEC CPU Rate is part of the SPEC CPU benchmark; it is not a "different" benchmark.

The reliability argument doesn't "go out the window"; what do you think that software is virtualised on? And to top it off, you're losing a significant amount of performance by using a virtualisation solution like vmware.

In fact, there's entire segments of industry that won't accept the latency typical virtualisation technologies bring.

As for the 0.75 and 1.5 TB of ram argument, perhaps you missed what I said about terabytes. You have any Intel boxes with 32 terabytes lying around?

While you may have not seen any contracts floating around for SPARC hardware, I have quite recently..

Finally, as for "legacy" status, SPARC and Solaris have features not found anywhere else that are continuing to be developed and added even today. It's only a "legacy" platform if you completely ignore the technology there. And Solaris runs just fine on x86 thank you very much.

comment 12y ago · link · parent

Your initial implication was that SPARC wasn't setting any world-records anymore, when I proved that wasn't the case, you then proceeded to complain about an arbitrary benchmark.

When I pointed out that results were provided for that benchmark, you then complained that it wasn't for the general benchmark but a portion of it.

You then proceeded to claim it wasn't an Apples-to-Apples comparison, but Oracle doesn't offer anything less than 16 cores for a T5. I don't think comparing products that don't exist is very useful so attempting to extrapolate what an 8-core version might be seems silly, especially since there's not a one-to-one correlation between cores and performance.

In addition to that, at last check, you can't pick the number of cores (precisely) that you want a processor to have when purchasing so it doesn't make any sense (in my personal opinion) to strictly compare core-to-core performance, since, as the other poster pointed out, core is essentially a definition at the whim of a vendor.

So, I'll just stick to refuting your original implication -- that SPARC isn't setting world-records anymore; it is in fact doing so. And in fact, SPARC continues to have far greater memory bandwidth, I/O bandwidth, and memory capacity compared to general Intel offerings.

So if you want to find out how fast a T5 will actually run your application, try one out and get real data instead of relying on benchmarks to make your decision. Personally, I think you'd be shocked at just how well most workloads perform if you actually tried a T5.

As to the price argument, the companies I've worked for or with in the past generally didn't care about that so much as the reliability of the system and it's capability. They have workloads that consume multiple terabytes of memory. They're using the servers to process transactions that are netting them millions of dollars with the servers they use, so saving a few thousand bucks doesn't matter to them.

In the end, you have to use the right tools for the right job. There's a reason that Oracle sells x86 servers too.

Personally, I don't care which architecture is being used as long as I get to use Solaris/ZFS.

comment 12y ago · link · parent

Oracle has actually published other SPARC results that are not for Fujitsu chips for SPEC CPU:

https://blogs.oracle.com/BestPerf/entry/20130326_sparc_t5_sp...

http://www.spec.org/cpu2006/results/cpu2006.html

While I can't provide you my own detailed benchmarks, I can tell you anecdotally that the most recent SPARC hardware has significantly better single-threaded performance than the early T1, T2 series.

As an example, one of the projects I work on is written almost entirely in Python, and so is almost completely single-threaded (only the transport is multi-threaded using libcurl).

I had an opportunity to compare the performance on the T5 to the T1 and found it was practically night and day, and the performance of the program seems just as snappy as it does on any Xeon system I've used.

Anecdotally, I can tell you that given a choice between a fully-loaded Xeon box or one of the newest SPARC servers, most of the developers I work with will choose the SPARC server simply because builds take significantly less time.

comment 12y ago · link · parent

I think your conclusion, "end for world-beating SPARC performance", is perhaps based on out of date information:

http://www.oracle.com/us/solutions/performance-scalability/s...

Also, if you look at the roadmap, you'll see there's even more performance improvements scheduled in the near future:

http://www.oracle.com/us/products/servers-storage/servers/sp...

comment 12y ago · link · parent

Thanks, that does seems like a rather elegant, simple implementation. I still want to see it in the core language or primary implementation, but seeing the different ways people implement sets in Go is helpful because I'm certain there are pitfalls in doing so.

comment 12y ago · link · parent

As I said, I really want to see it in the core language. Your point about "everone ... and his mother probably writes one at some point" seems like a strong point for just putting it into the language or primary implementation if it's such a common pattern.

comment 12y ago · link · parent

Yes, I was actually looking for the union intersection, etc. functionality. I use that extensively in the project I work on. And it's core enough that I want it in the language, not as a third-party add on because of the performance implications and because of things the language can enforce natively. The Python set data type really is great for a certain class of problems. In particular, graph analysis and traversal.

comment 12y ago · link · parent

I'm not asking for generics, but I really want an equivalent to Python's set data type for strings and numbers at the leas built-in. I'm aware of golang set on GitHub and the gen project as well, but I'm shocked that Go doesn't have an equivalent to the set data type yet.

I'm open to suggestions.

comment 12y ago · link · parent

Having only lived in the SF Bay Area for a few years now, everyone I know that lives in the SF Bay Area refers to San Francisco simply as "the city". They say things like "I went to the city this weekend", etc. So while I agree with the silly capitalisation, I also think it's a losing battle.

It's also not a behaviour unique to the SF Bay Area; when I lived in a fairly rural area (pop. < 10K spread over quite a few miles), the largest city nearby was often referred to as "the city" by everyone that lived outside the largest nearby city (which was Kansas City where I lived).

comment 12y ago · link · parent

Note that I did not "redefine" majority, I was merely pointing out that the way the original poster used the word majority might imply different meanings to some people.

Nevermind that in English, the meaning of the same word can change based on context, or in speech, based on tone of voice.

comment 12y ago · link · parent

"opinion of the masses" is a subjective interpretation of events; not a fact.

As to "passed by a majority", I would say, that depends on how you define a majority. A majority in the context of voting laws, perhaps. But I sincerely doubt it was actually representative of the entire population of California as a whole.

I also find it a bit ironic that someone would resort to name-calling in a thread attempting to defend the unpopular views of an individual as their right to have.

comment 12y ago · link · parent

An opinion of the masses willing to vote is not necessarily an opinion of the masses. Regardless, even if it was a "majority" of people capable of voting, there's a reason the phrase "tyranny of the majority" exists.

There are a number of unnamed social ills and other problems that could still exist today in some countries or that would have likely lasted longer if we had waited for "popular opinion" to change.

I don't agree with forcing Eich out, but Mozilla should have known better than to pick a candidate that was going to be controversial to begin with. A person in leadership should be and often is held to a higher set of expectations.

1
232425
41