I don't disagree with your post. But the
Space Shuttle Main Engines capabilities far exceed
the Saturn V J2's in total thrust, specific impulse,
reliability, and durability. It is hoped the
the successor to the shuttle will intelligently
mine this great technology.
Not much we could do if they were flying in
international airspace with passive sensors. Hijacking airplanes is against international law, such as it is
If the Chinese are invited into the partnership, they also can transport personnel aboard their Shenzhou manned spacecraft, whose second orbital flight is expected next year.
This is absurd speculation for a country
that has recently hijacked an American
surveillance plane from international airspace. The US has
already balked at space collaboration with China.
It is unlikely to make gratuitous gestures like
this until they institute democracy and
stop threatening to invade Taiwan.
As for retiring the shuttle, it would be
moronic to do this without identifying the
new launchers and spacecraft to take its place.
The point wasn't addressed in this rather superficial article.
I don't think a repeat of the 6 year stand down from
manned spaceflight that occurred between
Apollo and the shuttle is acceptable.
So tell me why would any coder with >10 years experience would ever use that long complex C++ code to set a bit ???
I didn't say I wrote it. It is what is used
here by 50 developers and I can't change it. You bring up a good point though. The second
example was developed by some smart, experienced people.
My point is that C++'s huge complexity encourages
otherwise intelligent developers to create overwrought designs. I have
seen it again and again in projects. You even see
it in diversity of proposed solutions in the replies to my original post. We are talking
about setting bits in an integer! One processor instruction!
Unless you absolutely must have every single CPU cycle doing something useful, then why not keep it easy to read and understand?
Because in embedded applications you absolutely
must have every CPU cycle doing something useful.
Absolute efficiency drives down the cost of the processor your have to buy, or drives up the amount
of functionality you can fit on a processor. If you had embedded experience you would
know that.
In fact, you could transparently support multiple types of registers by overloading operator= of SOMEREG_ptr, which could be a polymorphic class.
The point is that people like you delight
in creating gadget interfaces,
and avoid minimal, repetative, direct programming designs.
That is the problem of your compiler, not the language.
C++ has been in vogue for almost 15 years. In all of that time very few compilers have been able to keep up with the bloat of new features. It
says a lot about C++ that it is so difficult
to come up with a decent implementation. My
point is valid.
C++ in embedded applications is a bad idea
on
C++ In The Linux kernel
·
· Score: 3, Insightful
Embedded dev is now often C++ based.
Too bad too. I am developing FAA Level A avionics software using C++, I am
sorry to say. What a debocle. For starters, the compilers for non-gcc supported platforms uniformly suck. Typical compilers for DSP's
lag the C++ standard by 10 years, and crash
frequently.
And my project is proof that if a language feature exists it will be used, no matter how pointless.
For example:
/* Rational person sets a control register in C */ *SOMEREG_ptr = BIT_A | BIT_B;
or
// C++, is this really better? Register_set<std::uint16_t> regset(base_address); regset.write(SOMEREG_OFFSET , Register_set<>::BIT_A | Register_set<>::BIT_B);
Unlike P&W's previous engines, however, this engine is not a jet, and is powered by Nuclear Fission.
P&W rocket engines like the RL-10
are not jets, they are pump fed rocket engines.
Jets are air breathing by definition. The main differences between
a nuclear engine and a traditional combustion
engine is the source of the heat (nuclear vs. chemical) and single exhaust fluid source.
Without a doubt the most important equation of
all time is the theorem of Pythagoras:
a^2 + b^2 = c^2
It is found virtually everywhere in mathematics
and physics: from grade school geometry,
trigonometry, calculus, non-Euclidian geometry..., to the Tanyama Shimura Conjecture.
You are completely misusing the word. Walmart
is a leader in the incredibly
competative retail sector. They got that way
by being maniacly efficient and offering low prices on
goods people need. They compete with other
strong retailers (Target, Sears, Home Depot...) everyday
to the benefit of everyone. To make money they require
volume. To create volume Walmart
must offer low prices. The RIAA is under
the same market pressures as any other Walmart
supplier.
Its not your parties beliefs that amaze me, its their inability to defend them logically and then have the unwashed masses follow your leaders around like their the damn pied piper.
Intellectual elitism is a hallmark of modern
liberalism. It only serves your vanity.
The democrats used to lay claim to
the vote of the "unwashed masses". We Republicans are happy to bring them into the fold,
and win presidential elections.
Mr. Kerry's non-response to the Social Security
question was most revealing. This chalatan and
most partisan of politicians would have us think
that we can restore through the sheer force of
his personality. It seems to be his position on
most issues, including Iraq. He is in in
complete denial. Social Security
is an unstable ponzie scheme built on
a fortunate fact of gemography that no longer
exists. Fact is, we need to means
test the program and slash it immediately.
What is mathematics worth? Shouldn't
we pay Pythagoras' decendants a royalty each
time we use his triangle theorem? How about the
theory of electromagnetism? Shouldn't we
kick in a few cents to Maxwell's decendents each
time we use an electrical device? The works of
Shakespeare? Free software, like the Linux
kernel belong to a body of knowledge that is
not really saleable but are beyond value.
Our society may be highly influenced by capitalist ideas, but they are not universal.
The fact is, there IS NO OTHER SIDE. The scientific evidence that humans are affecting the climate with CO2 is as clear as day, and scientists who say otherwise are hired by special interest groups or oil companies.
Six billion people in the world seeking a better
life will have their affect on climate. What about
increasing levels of more efficient greenhouse
gases methane and water vapor?
The timing this report before an election is suspect. Proponents of the Kyoto Treaty are trying to spread their cause through inuendo, fear,and coersion. It has no merit. Fortunately the reaty was rejected by a
bipartisan vote of 95-0 in the U.S. Senate and is unlikely to be put to the vote again.
Last night I watched a 3 hour program documenting
the Spaceship1 story on the Discovery Channel. I was struck by the brilliance and perserverance of Rutan's team, but
also how insanely dangerous this was. The view
from the spartan cockpit of the pilot struggling to
control the flight of the rocket was sobering.
It was like they were ridding a paint shaker!
Chuck Yeager's wild X-1, X-2 flights had nothing
on SS1. I'm just glad these great pilots weren't
killed. Burt Rutan is still very far from
safe suborbital flight for champaign sipping
passengers, XPrize not withstanding.
Interesting since they seem to lack alot of technology up there. Have you seen satellite pictures? Seoul looks like L.A. while North Korea is pitch black. A very poor and low tech country last I heard.
Here it is. The night life in Pyongyang must
be nothing to brag about.
Scaled Composites had the benefit of all the public knowledge now available about space travel.
Maybe, but Burt Rutan has pioneered the use
of composites and canard designs. SS1 should
prove for the millionth time that the way to get
the most for the R&D dollar is to
challenge a small group with a lot of talent.
Large numbers of people make for
stupid decisions and designs. Look no further
than the Space Shuttle or the X-33 as examples.
Burt Rutan is considered to be a bit of
a wacko to mainstream aerospace.
Hopefully he will now be recognised as the genious
that he is.
Let us not forget that he also built Evil Knievel's Sky Cycle in the 70's. Did you see some
of the exotic aircraft flying with SS1. They
were his too. The guy is amazing.
The New York Times publishes a negative
story about WMD in Iraq and it is/. news worthy?
They have published 100's.
Have the moderators taken the weekend off?
The New York Times is a shrill liberal
mouthpiece, pure and simple. It exists to try
to keep the liberal politics zombie alive,
even though it died when Mr. Reagan came to office.
According to them Kerry is running even with President Bush. LOL. Their credibility is nil. It is a dinosaur. Why/. would start this flamewar by posting this junk is beyond me.
Ted Kaczynski out of jail?
on
Happy 50th Cern!
·
· Score: 1, Flamebait
Your diatribe reads like the Unabomber's manifesto. I hope you don't live alone
in the wilderness.
I found the whole website to be an amusing
amalgamation of Anti-Americanism and the Chinese
communist party line!
DPRK warns of growing danger of war
Threats of war are the DPRK's major export.
China to work towards peaceful reunification
In between military exercises and overt
threats. Taiwan is not Hong Kong. Face it guys, you lost it.
China: Separatism a threat to Asia peace
If you call communist authoritarianism peace.
Free Tibet!
Crisis looms due to weak dollar
Perhaps if you reinvested some of your profits
in your own businesses instead of mindlessly
buying U.S. treasuries you wouldn't have this
problem. Suckers.
Failure to justify war
Sorry we broke up your oil for food scam.
Hutiao dam project demands reconsideration
What's wrong with dislocating another 500,000
people for a dam project?
US unilateralism opposed
Opposed by Russia, China, and France. Is there
any better argument for unilateralism?
NSAS inspector general is investigating a $30 million shuttle toilet that was supposed to cost $3 million. The cost went up, the contractor explained, when NASA added a window. Source
This might sound expensive, but considering the
$14G development cost of the shuttle. It isn't really much. Foale is trivializing the discussion
of NASA's future direction by saying stuff like this. A guarantee the Crew Exploration Vehicle
will have a toilet. What sense does it make to
send astronauts on a month long trip to the moon
only to have them return with Cholera?
I don't disagree with your post. But the Space Shuttle Main Engines capabilities far exceed the Saturn V J2's in total thrust, specific impulse, reliability, and durability. It is hoped the the successor to the shuttle will intelligently mine this great technology.
Not much we could do if they were flying in international airspace with passive sensors. Hijacking airplanes is against international law, such as it is
If the Chinese are invited into the partnership, they also can transport personnel aboard their Shenzhou manned spacecraft, whose second orbital flight is expected next year.
This is absurd speculation for a country that has recently hijacked an American surveillance plane from international airspace. The US has already balked at space collaboration with China. It is unlikely to make gratuitous gestures like this until they institute democracy and stop threatening to invade Taiwan.
As for retiring the shuttle, it would be moronic to do this without identifying the new launchers and spacecraft to take its place. The point wasn't addressed in this rather superficial article. I don't think a repeat of the 6 year stand down from manned spaceflight that occurred between Apollo and the shuttle is acceptable.
So tell me why would any coder with >10 years experience would ever use that long complex C++ code to set a bit ???
I didn't say I wrote it. It is what is used here by 50 developers and I can't change it. You bring up a good point though. The second example was developed by some smart, experienced people. My point is that C++'s huge complexity encourages otherwise intelligent developers to create overwrought designs. I have seen it again and again in projects. You even see it in diversity of proposed solutions in the replies to my original post. We are talking about setting bits in an integer! One processor instruction!
Unless you absolutely must have every single CPU cycle doing something useful, then why not keep it easy to read and understand?
Because in embedded applications you absolutely must have every CPU cycle doing something useful. Absolute efficiency drives down the cost of the processor your have to buy, or drives up the amount of functionality you can fit on a processor. If you had embedded experience you would know that.
In fact, you could transparently support multiple types of registers by overloading operator= of SOMEREG_ptr, which could be a polymorphic class.
The point is that people like you delight in creating gadget interfaces, and avoid minimal, repetative, direct programming designs.
That is the problem of your compiler, not the language.
C++ has been in vogue for almost 15 years. In all of that time very few compilers have been able to keep up with the bloat of new features. It says a lot about C++ that it is so difficult to come up with a decent implementation. My point is valid.
Embedded dev is now often C++ based.
Too bad too. I am developing FAA Level A avionics software using C++, I am sorry to say. What a debocle. For starters, the compilers for non-gcc supported platforms uniformly suck. Typical compilers for DSP's lag the C++ standard by 10 years, and crash frequently. And my project is proof that if a language feature exists it will be used, no matter how pointless. For example:
or
Gross. Please keep C++ out of the Linux kernel!
Unlike P&W's previous engines, however, this engine is not a jet, and is powered by Nuclear Fission.
P&W rocket engines like the RL-10 are not jets, they are pump fed rocket engines. Jets are air breathing by definition. The main differences between a nuclear engine and a traditional combustion engine is the source of the heat (nuclear vs. chemical) and single exhaust fluid source.
Without a doubt the most important equation of all time is the theorem of Pythagoras:
a^2 + b^2 = c^2
It is found virtually everywhere in mathematics and physics: from grade school geometry, trigonometry, calculus, non-Euclidian geometry..., to the Tanyama Shimura Conjecture.
They let Bush do it all the time, and he's the head of the biggest corporation in the world. ;-)
As opposed to Kerry? Kerry reminds me of a ventriloquist's doll. The DNC chairman has his hand up his ass making his mouth work.
Why code when you can take over the world. He's way to old to really be a programmer these days, anyhow.
Tell that to Donald Knuth who in his 70's still programs hairy mathematical stuff like a fiend.
Walmart is famous for being strict on their tactic of "our way or the highway.
I can't say I am sympathetic to the oligarchs of the RIAA. Perhaps we need music from another source. By the way, absurdly priced DVD's are next.
Monopoly one, meet monopoly two.
You are completely misusing the word. Walmart is a leader in the incredibly competative retail sector. They got that way by being maniacly efficient and offering low prices on goods people need. They compete with other strong retailers (Target, Sears, Home Depot ...) everyday
to the benefit of everyone. To make money they require
volume. To create volume Walmart
must offer low prices. The RIAA is under
the same market pressures as any other Walmart
supplier.
Its not your parties beliefs that amaze me, its their inability to defend them logically and then have the unwashed masses follow your leaders around like their the damn pied piper.
Intellectual elitism is a hallmark of modern liberalism. It only serves your vanity. The democrats used to lay claim to the vote of the "unwashed masses". We Republicans are happy to bring them into the fold, and win presidential elections.
Mr. Kerry's non-response to the Social Security question was most revealing. This chalatan and most partisan of politicians would have us think that we can restore through the sheer force of his personality. It seems to be his position on most issues, including Iraq. He is in in complete denial. Social Security is an unstable ponzie scheme built on a fortunate fact of gemography that no longer exists. Fact is, we need to means test the program and slash it immediately.
What is mathematics worth? Shouldn't we pay Pythagoras' decendants a royalty each time we use his triangle theorem? How about the theory of electromagnetism? Shouldn't we kick in a few cents to Maxwell's decendents each time we use an electrical device? The works of Shakespeare? Free software, like the Linux kernel belong to a body of knowledge that is not really saleable but are beyond value. Our society may be highly influenced by capitalist ideas, but they are not universal.
The fact is, there IS NO OTHER SIDE. The scientific evidence that humans are affecting the climate with CO2 is as clear as day, and scientists who say otherwise are hired by special interest groups or oil companies.
Six billion people in the world seeking a better life will have their affect on climate. What about increasing levels of more efficient greenhouse gases methane and water vapor?
The timing this report before an election is suspect. Proponents of the Kyoto Treaty are trying to spread their cause through inuendo, fear ,and coersion. It has no merit. Fortunately the reaty was rejected by a
bipartisan vote of 95-0 in the U.S. Senate and is unlikely to be put to the vote again.
Last night I watched a 3 hour program documenting the Spaceship1 story on the Discovery Channel. I was struck by the brilliance and perserverance of Rutan's team, but also how insanely dangerous this was. The view from the spartan cockpit of the pilot struggling to control the flight of the rocket was sobering. It was like they were ridding a paint shaker! Chuck Yeager's wild X-1, X-2 flights had nothing on SS1. I'm just glad these great pilots weren't killed. Burt Rutan is still very far from safe suborbital flight for champaign sipping passengers, XPrize not withstanding.
Interesting since they seem to lack alot of technology up there. Have you seen satellite pictures? Seoul looks like L.A. while North Korea is pitch black. A very poor and low tech country last I heard.
Here it is. The night life in Pyongyang must be nothing to brag about.
Scaled Composites had the benefit of all the public knowledge now available about space travel.
Maybe, but Burt Rutan has pioneered the use of composites and canard designs. SS1 should prove for the millionth time that the way to get the most for the R&D dollar is to challenge a small group with a lot of talent. Large numbers of people make for stupid decisions and designs. Look no further than the Space Shuttle or the X-33 as examples. Burt Rutan is considered to be a bit of a wacko to mainstream aerospace. Hopefully he will now be recognised as the genious that he is.
Let us not forget that he also built Evil Knievel's Sky Cycle in the 70's. Did you see some of the exotic aircraft flying with SS1. They were his too. The guy is amazing.
The New York Times publishes a negative story about WMD in Iraq and it is /. news worthy?
They have published 100's.
Have the moderators taken the weekend off?
The New York Times is a shrill liberal
mouthpiece, pure and simple. It exists to try
to keep the liberal politics zombie alive,
even though it died when Mr. Reagan came to office.
According to them Kerry is running even with President Bush. LOL. Their credibility is nil. It is a dinosaur. Why /. would start this flamewar by posting this junk is beyond me.
Your diatribe reads like the Unabomber's manifesto. I hope you don't live alone in the wilderness.
I found the whole website to be an amusing amalgamation of Anti-Americanism and the Chinese communist party line!
DPRK warns of growing danger of war
Threats of war are the DPRK's major export.
China to work towards peaceful reunification
In between military exercises and overt threats. Taiwan is not Hong Kong. Face it guys, you lost it.
China: Separatism a threat to Asia peace
If you call communist authoritarianism peace. Free Tibet!
Crisis looms due to weak dollar
Perhaps if you reinvested some of your profits in your own businesses instead of mindlessly buying U.S. treasuries you wouldn't have this problem. Suckers.
Failure to justify war
Sorry we broke up your oil for food scam.
Hutiao dam project demands reconsideration
What's wrong with dislocating another 500,000 people for a dam project?
US unilateralism opposed
Opposed by Russia, China, and France. Is there any better argument for unilateralism?
NSAS inspector general is investigating a $30 million shuttle toilet that was supposed to cost $3 million. The cost went up, the contractor explained, when NASA added a window. Source
This might sound expensive, but considering the $14G development cost of the shuttle. It isn't really much. Foale is trivializing the discussion of NASA's future direction by saying stuff like this. A guarantee the Crew Exploration Vehicle will have a toilet. What sense does it make to send astronauts on a month long trip to the moon only to have them return with Cholera?