Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:C used in your favorite programming language (Score 1) 535

The words Bootstrapping compiler spring to mind ...

The GCC compiler was written in C, and is now being used to rewrite the GCC compiler in C++ and the C-GCC compiler will be used to compile it initially

LLVM was compiled using a C based compiler then LLVM used to compile itself ...

Almost all compilers were originally assembler, then C, then bootstrapped themselves ...GCC is unusual in that it (until recently) still compiled via C ...

Comment Re:Not surprising (Score 1) 535

C is not a good language, but it is not a bad language, is very general, is very simple to implement on a new system, is very small (for the basic language), and brings huge amounts of code with it if you do ...so it is implemented on most systems

C has multiple standards, not everything is implemented everywhere ...

C has issues mainly because it is a very old language, this is what C++, Java, C# and many others were designed to address to varying levels of success ...

There are a large number of other languages widely used and widely ported that are by many definitions better than C, but they are either domain specific, propitiatory, or not well known outside specific industries ....

Comment Re:C? (Score 1) 535

..What is the C++ compiler written in ... probably C

what is C++ compiled via in this compiler, probably C

i.e. C is very low level and can express any programming construct, but it might be simpler to express in C++

C++ cannot be more efficient when compiled (unless you just have a better compiler) since it is just machine code

There may be libraries for C++ that are better, more efficient, and do not currently exist for C, but this just means that they have not been written for C not that they cannot be (it may be very difficult to, or it may be pointless to implement, because it directly uses features that only exist in C++)

Having said that I don't rate either ...

Comment Re:US Metric System (Score 1) 1387

One of the original signatories of the convention of the Metre in 1875 was the USA ...

The US Customary units in everyday use are defined in terms of metric base units

US Dollars were one of the first decimal currencies

Most of the products you buy are manufactured in Metric and sold in metric but labelled with both metric and US Customary units ...

The US military and US scientists use metric almost exclusively, and many businesses use metric so they can deal internationally

It's not a case of when you go metric, it's just when are you going to finish....

Comment Re:better explanation (Score 1) 264

It's all a trick due to the weirdness of quantum states trying to be defined in classical terms

They change the quantum state of atoms with almost no energy, to a higher energy state and keep them there using less energy than the change in state ... so in classical terms the energy had to come from somewhere and so the average temperature must have gone down.... but the missing energy is not really missing and the real temperature is still positive ...

Comment Re:Get rid of printers (Score 1) 285

Now take the four pieces of paper on your desk, overlap them and look at them through a rectangular mask that stops you looking at the rest of your desk ...

Paper still has it's uses, they are much much less than they were, and paper is still overused but it is not dead ...

In the same way that Radio is not dead because of TV, there is a place for paper that vast amounts of very expensive technology can replace most of but not all ...

Comment Re:by my estimation (Score 3, Interesting) 146

Note the RIAA has never published music, and is not a music publisher so should have no right to fine uploaders/distributors /publishers

They represent some of the Music Publishers in the USA, but not all of them, and not all music publishers across the world

But they will and have tried to prosecute people for uploading material where the copyright is not owned by the people they represent, even outside the USA

Comment Re:haha (Score 1) 119

You have marketed and sold the value of your product based on an interactive interface that can inform, update and interact with the user, then set up a voting system where you inform them of the vote by email, and the voting system is seemingly not coping with the volume of votes when less that 1% are trying ....

As an exercise in proving the voting system is broken it worked very well

Comment Re:As much as I hate Microsoft... (Score 1) 724

Microsoft have their own infrastructure and inapp payments system and do not need to use Apple's resources at, Apple forces everyone to use theirs like it or not and charges them for the privilege

Microsoft Apps can use any or their own
Android Apps can use any or their own

Apple are the only Smartphone system that forces you to use their app store for all apps, forces you to use their system to make in app payments, and charges you for each ....

Slashdot Top Deals

All great discoveries are made by mistake. -- Young

Working...