Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Because it's coded/compiled crappily (Score 1) 332

A 32-bit x86 app has access to 8 32-bit "general purpose" registers - they ain't really all general purpose because three of them are the stack pointer, frame pointer, and program counter.

You appear to have confused x86 with the PDP-11; the program counter ("instruction pointer" in x86land) is not one of the GPRs.

As for the frame pointer, GCC, for example, has a -fomit-frame-pointer flag that generates code that doesn't use EBP as a frame pointer, so it's available as a GPR. That might make debugging more difficult. If you're not just overlapping the data and stack segments, references through EBP implicitly go to the stack segment, so you'd have to use a segment-override prefix if it has a pointer to a location in a segment other than the stack segment, but if you're just overlapping them, that's not an issue. If you're using the ENTER or LEAVE instructions, EBP is a stack pointer; I don't know whether any current compilers bother with them.

Comment Re:BSD (Score 1) 291

What is so damn evil about making money? WHat is so evil about feeding your family?

Nothing. However, if making money to feed your family means using somebody else's GPLed code and not making the source to your project available, or using somebody else's GPLed or LGPLed code, with your own modifications, and not making the source to the modifications available, you should consider finding some other way to make money to feed your family. The author of the GPLed or LGPLed code is under no obligation to make it easier for you to do so.

Sure you can use GNU but who do these people are to prevent businesses to streamline their processes with software or to tell us we can't have dreams of a better life by writting the next killer app?

You can do both. Just don't, in the process, use other people's code in ways that they don't wish it to be used.

Comment Re:Executable performance (Score 1) 291

Clang supports every backend that llvm does. What it doesn't do is automaticity find all the libraries and header files that are standard for a plat form. But you can specify any target that llvm supports.

GCC doesn't support all those targets because they need to be explicitly included in at compile time.

By "targets" do you mean "instruction set architectures" or "ISA version + OS"?

And by "support" do you mean "if you build GCC it automatically includes support for all those targets without having to configure them in" or do you mean "allows support for that target to be compiled in"? If you mean the former of those two definitions of "support", that's not generally what "support" means in this context; if you mean the latter, well, which of "X86, X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, and XCore" aren't supported? On the host/target specific installation notes for GCC page, I don't see any explicit mention of Thumb, CellSPU, MSP430, or XCore ("SystemZ", i.e. z/Architecture or "64-bit System/3x0", is called "s390x" on that page), although the ARM options page for GCC mentions Thumb; I see references on the Web to an "mspgcc" project for the MSP430, but it's not part of the GCC release, and I see mentions of an "spu-gcc", but nothing about Xcore.

Comment Re:Executable performance (Score 1) 291

In my benchmarks llvm is universally faster.

And you missing a ton of platforms that clang supports. http://llvm.org/svn/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp

By "platforms" do you mean "instruction set architectures" or do you mean "particular variants of instruction set architectures on particular operating systems"? The person to whom you're replying listed ISAs, i.e. "platforms" in the former sense, not "platforms" in the latter sense.

The LLVM features page says LLVM includes "An easily retargettable code generator, which currently supports X86, X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, and XCore." However, the LLVM 3.2 release notes say "The CellSPU, MSP430, and XCore backends are experimental, and the CellSPU backend will be removed in LLVM 3.3.", and the LLVM 3.1 release notes say "The Alpha, Blackfin and SystemZ targets have been removed due to lack of maintenance.", as well as mentioning some little-endian MIPS support ("MIPS32 little-endian direct object code emission is functional." and "MIPS64 little-endian code generation is largely functional for N64 ABI in assembly printing mode with the exception of handling of long double (f128) type.").

So, whilst a lot of the "ton of platforms" are just different ISA versions or the same ISA on more than one OS, the list in "clang supports only i386, amd64, 32 bit arm, big-endian mips, s390" may be out of date, unless clang doesn't support all the ISAs that the LLVM backend does.)

Comment Re:Executable performance (Score 2) 291

eh, gcc doesn't even follow C99, it's a half-assed C89

Are there any issues other than those mentioned in the GCC developers' status of C99 features in GCC page?

with all kinds of weird extension

Well, yes, if you specify --std=c99, "When a base standard is specified, the compiler accepts all programs following that standard plus those using GNU extensions that do not contradict it." You'd need -Wpedantic to get warnings about all GNU extensions and -pedantic-errors to get them as errors.

Comment Re:I thought this was over and done already? (Score 1) 335

So then you admit that reputable scientists disagree with AGW and at the same time are not shills for this or that industry, etc. eh?

I'd have to study more of what they say to see whether that's the case or not. Even if they're reputable in their field and not shills for fossil fuel industries, that doesn't mean they're actually right.

And please, realclimate? A hotbed of political activism and environmental wackos.

And the reason why I should believe you when you make that assertion is? Are you reputable, or are you just an anti-AGW wacko?

Comment Re:I thought this was over and done already? (Score 1) 335

And maybe because there are plenty of educated people here who don't drink the Kool Aid like you. If you'd bother to pay attention, there are plenty of scientists, who are uniformly smarter that your sorry ass, who also don't drink the Kool Aid.

And there are also plenty of smart scientists who do, in your words, "drink the Kool-Aid".

Comment Re:I thought this was over and done already? (Score 1) 335

Hrmph, now you're being dense just to hold your side of the debate. Buddy, if you truly believe manufacturing smartphones, plastic bottles et al do nothing more than deplete resources, you're just as much in denial as those others you like to call "conservative."

Presumably, then, if you're (also? same AC or different?) arguing that "climate change is not just CO2 emissions", what you mean by that is "climate change is emissions of various greenhouse gases, including but not limited to CO2", and are arguing that manufacturing smartphones, plastic bottles et al cause the emission of greenhouse gases other than CO2.

Comment Re:I thought this was over and done already? (Score 1) 335

The remarkably strong anti-gun sentiment that dominates nearly every thread

Statistics, please? I see both strong anti-gun and strong pro-gun comments (when I bother to look at all - the SNR is pretty low on most gun discussions - so maybe I just don't look at enough threads).

Comment Re:I thought this was over and done already? (Score 1) 335

how can you predict the average of 100 dice rolls, when you can't even predict what the next dice roll will give?

If you can't predict the next dice roll, how come the house always wins?

Assuming you're not just trolling, the answer is "the house always wins on average". Somebody might luck out and Win Big, but enough people don't win at all that the big wins and the small wins are more than cancelled out.

Comment The carriers are trying to scare Google (Score 4, Interesting) 163

Seriously, what else could *possibly* motivate AT&T to announce "Austin" rather than one of the hundred other similar markets they could be moving into? Are they looking forward to making half as much revenue as they would if they entered a city with no gigabit competition? Are they proud that they'll be increasing the maximum speed available to Austinites by 0% rather than increasing the maximum speed available in another city by 9900%?

Of course not. They're showing Google, "moving in on our turf won't be profitable, because we'll try to undercut you every time you make a move, so you might as well give up and leave us with our oligopoly."

It'll be fascinating to see what Google's response (both in terms of words and actions) will be. Does "don't be evil" include "don't concede to evil"?

Comment Re:There is no app bubble (Score 1) 240

I am praying this happens. I do not enjoy the many "Would you like to download our free forum app? Press cancel to continue to the web site" popups I get on my phone. Even if this does happen though, do you really think it means that the app market will not be a thriving place?

I think that there will still be a good market for application programs running on smartphones and a good market for application programs running on tablets, just as there will still be a good market for application programs running on notebook computers and a good market for application programs running on desktop computers (some of those programs might work well on more than one form factor).

Whether any of those markets will be as big, in terms of how many developers those markets can support, as they were before that happens is another matter.

The quality of apps would go up for sure, but isn't that exactly what we need?

I.e., we need to have the bubble pop? Yup, we do.

Slashdot Top Deals

Bus error -- driver executed.

Working...