Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-8081-

Why still use C++?

Name: Anonymous 2011-09-19 2:01

So, why do people still use C++ if it is so complicated? Here is what I was thinking tonight. I was watching that lecture about the C++ Renaissance, but a lot of the code was so messy even for very basic stuff. Also, the libraries were very limited to just basic computational stuff. Then we look at things like Java or Lisp were the already given libraries can do things like GUI and concurrency (C++ took a long time to catch up). Everything is pretty safe and easy to code. I do not understand why so much of the industry still uses C++.

Name: Anonymous 2011-09-19 2:12

>>1
Because garbage collection is exactly that, garbage. Call me when there's a general purpose language as expressive as Lisp, with strong typying, static compilation to machine code, and without the gargbage collection.

I don't want a language to hold my hand when it comes to memory management. I don't want a language that runs in a virtual machine.

Name: Anonymous 2011-09-19 2:15

>>1
Also, the concurrency libraries in C++ far surpass those in Java or Lisp these days. Take a look at PPL, TBB, OpenMP or C++AMP.

Name: Anonymous 2011-09-19 2:48

/g/'s response. At least they know what they say. http://boards.4chan.org/g/res/20099123?watch#20099123

Name: Anonymous 2011-09-19 2:50

>>4
Who gives a shit. Garbage collection is considered harmful. Also, go back to http://boards.4chan.org/g

Name: Anonymous 2011-09-19 17:11

GC is shit

Name: Anonymous 2011-09-19 17:12

reference counting > manual memory management > gc

Name: Anonymous 2011-09-19 17:20

I want a dialect of C with `C-like dynamic code generation and a Lisp-like macro preprocessor.

Name: Anonymous 2011-09-19 17:21

reference counting + manual memory management > manual memory management > reference counting > gc

Name: Anonymous 2011-09-19 17:26

>>9
You're a fag
Why distribute your garbage collector across an entire program and plague it with bugs when you can use a real garbage collector?

Name: Anonymous 2011-09-19 17:49

fuck off and die you fucking byte-caressing dipshits

Name: Anonymous 2011-09-19 18:18

>>10
Because a real GC is real shit.

Name: Anonymous 2011-09-19 18:18

>>10
Eh..? You're trolling right?

Name: Anonymous 2011-09-19 18:29

I give up. I just hope the manual memory management faggot gets a name/tripcode so I can filter out his bullshit.

Name: Anonymous 2011-09-19 19:00

Reference counting is slower than real gc. Prove me wrong.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2011-09-19 19:23

>>15
Python, perl, and ruby still use a bunch of dumb mark and sweep algorithms.

Name: Fartist 2011-09-19 19:46

VICTORY TO THE FARTISTS!

Name: Anonymous 2011-09-19 21:22

>>16
Python and Ruby (I don't know about Perl) are designed and implemented by people who don't have a clue about anything. Using the result of their cretinism as a way to benchmark success is stupid. Learn to troll, faggot.

Name: Anonymous 2011-09-20 14:36

>>18
Just because you don't know how does the bare metal work doesn't mean you are a clueless programmer who writes stupid shit.

Name: Anonymous 2011-09-20 14:52

>>16
You're company is shit.

Name: Anonymous 2011-09-20 14:52

Name: Anonymous 2011-09-20 14:53

>>18
forgot PHP

Name: Anonymous 2011-09-20 14:57

>>2,3,5,7,9,19
What the fuck?  I am the one true GC_is_shit guy and this imposter's half truths are pissing me right off.

Also: >>8 is at least on the right track

Name: Anonymous 2011-09-20 14:59

VM+JIT+GC/MMM is the way. >>23 is a huge faggot.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2011-09-20 15:10

>>20
What happened homer? Was the technical interview too technical for you?

Name: >>8 2011-09-20 15:19

>>23
From my point of view, the only case in which GC truly helps is with closures, and `C emulates them brilliantly. All other uses of GC are unnecessary bloat.
Someone should add `C support to gcc.

Name: Anonymous 2011-09-20 15:33

>>23
YOU are the imposter.

GC is shit.

Name: kodak_grallery_programmer !!kCq+A64Losi56ze 2011-09-20 15:34

>>26
From my point of view, the only case in which GC truly helps is with closures, and `C emulates them brilliantly

What the fuck are you smoking? Please tell me that you're stoned or trolling.

Name: Anonymous 2011-09-20 15:34

i respectfully submit that GC is not shit

Name: Anonymous 2011-09-20 15:36

Name: Anonymous 2011-09-20 15:36

GC is great. Exclusive GC is shit.

Name: Anonymous 2011-09-20 15:40

>>30
So? That still doesn't support your idiotic assertions.

Name: Anonymous 2011-09-20 16:09

>>32
In the vast majority of cases, allocation/deallocation is stack-shaped, and it is trivial to do without GC. Some other cases involve cycles, but they're actually quite rarely needed and easily resolved using weak references. My point is that the only things for which GC is useful are closures.

Name: Anonymous 2011-09-20 16:24

>>33
nice dubz bro.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2011-09-20 16:43

>>33

Remind me never to hire you.

Name: Anonymous 2011-09-20 16:44

>>35
fuck off and die already

Name: Anonymous 2011-09-20 16:47

>>36
Go run off and scrub another toilet you mental midget.

Name: Anonymous 2011-09-20 16:52

>>37
Just as I thought smug 16-year old lispers were the most annoying plague that this board could possibly face, you came along. Sincerely, fuck you.

Name: Anonymous 2011-09-20 17:39

This thread gave me ahegao.

Name: Anonymous 2011-09-20 18:24

>>33
D- would not hire. Also, GC would be worth it if only for closures.

Name: Anonymous 2011-09-20 18:53

>>40
Why don't you tell us what you do for a living? Are you an assistant manager at your local Taco Bell? Are you the HR person at your local Target?

Name: Anonymous 2011-09-20 18:57

>>41
Go run off and scrub another midget you subhuman toilet.

Name: Anonymous 2011-09-20 19:51

>>40
You don't need GC for closures. C++11 has closures, without requiring garbage collection. They captures values by reference and value, and you can copy closures around like other objects, and so they can exist either on the stack or heap.

Name: Anonymous 2011-09-20 19:58

>>43
An example, you can do this;

int main(int argc, char**) {
    int i = 0;
    auto func1 = [=] () { std::printf("%d\n", ++i); };
    auto func2 = new decltype(func1)(func1);
    func1();
    (*func2)();
    delete func2;
    return 0;
}


Which prints the following:

1
1

Name: Anonymous 2011-09-20 20:58

>>43
the problem is still the heap/stack distinction.

The cool thing about normal closures is that they obliterate that distiction. This is why C++ lambdas are not impressive. It's another example of C++'s attitude of creating syntactic pseudo-abstractions that don't actually buy you anything.

Name: Anonymous 2011-09-20 21:09

>>45
C++'s attitude of creating syntactic pseudo-abstractions that don't actually buy you anything.
But they look so intimidating! Imagine the bewildered face of a noob, who encounters them for the first time in an involved template code.

Name: made you look! 2011-09-20 21:11

>>40
good how about you?

Name: Anonymous 2011-09-20 21:12


auto f=[=](){a::b("%d\n",++i);};(*f)();

Now it truly looks like Haskell.

Name: Anonymous 2011-09-21 6:06

>>46
Imagine a subtle typo in some 100kb file which is perfectly OK to compile since now C++ is fine with line noise like that.

Name: Anonymous 2011-09-21 6:28

>auto f=[=]()
Why not drop the "auto"
C++ should infer types on its own.

Name: tdavis 2011-09-21 7:06

>>50
types don't exist, only values exist. Show me the "Integer type", jew!

Name: Anonymous 2011-09-21 7:22

>>51
The real psycho tdavis has never heard of the sage field.

Name: Anonymous 2011-09-21 7:41

>>52
>the sage field.
Its actually called an email field.

Name: Anonymous 2011-09-21 7:43

>>53
...

Name: Anonymous 2011-09-21 7:44

>>50
Because C/C++ needs to differentiate between declarations that allocate storage for some type on the stack, and statements. It's not dumbed down with garbage collection to make it accessible to morons.

I'm surprised you didn't realize this.

Name: Anonymous 2011-09-21 9:21

>>50
Because C++ is not one of your toy languages.

Also GC is shit. That's why people use C++.

Name: Anonymous 2011-09-21 10:12

>>55
C/C++
Way to be a retard, Retard.

Anyway, the reason why C++ needs the auto keyword is backwards compatibility.

Name: Anonymous 2011-09-21 10:25

>>56
Go scrub another midget you human toilet.

Name: Anonymous 2011-09-21 14:08

GC is shit. auto_ptr and unique_ptr give me anything I need for zero overhead.

And if I need to go berserk I can use shared_ptr and weak_ptr from C++11 standard (or just use boost).

Name: Anonymous 2011-09-21 14:39

>>59
auto_ptr, unique_ptr, shared_ptr, weak_ptr,...
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to remove. -- Exupery

Name: Anonymous 2011-09-21 14:42

>>Exupery
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to remove.
Perfection cannot be archieved.

Name: Anonymous 2011-09-21 14:44

>>61
"God" forbids you to use Lisp?

Name: Anonymous 2011-09-21 14:54

A famous Lisp Hacker noticed an Undergraduate sitting in front of a Xerox 1108, trying to edit a complex Klone network via a browser. Wanting to help, the Hacker clicked one of the nodes in the network with the mouse, and asked "what do you see?" Very earnesty, the Undergraduate replied "I see a cursor." The Hacker then quickly pressed the boot toggle at the back of the keyboard, while simultaneously hitting the Undergraduate over the head with a thick Interlisp Manual. The Undergraduate was then Enlightened.

Name: Anonymous 2011-09-21 15:03

alphaleah Leah McElrath
#BAHRAIN : Today I'm hearing #GCC forces entered again, garbage collection has stopped in many Shia village… (cont) deck.ly/~flVbw

Name: Anonymous 2011-09-21 15:04

>>62
Lisp is far from perfect
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

Name: Anonymous 2011-09-21 15:51

>>65
Yeah! Lisp is above perfect.

Name: Anonymous 2011-09-21 16:38

Manually managing memory makes me feel like I am a maid-programmer that doesn't want to use unnecessary memory on eir masters' computers. I feel dirty and disrespectful when using GC, and a good maid should always be proper and honest.
That's why I dislike GC.

Name: Anonymous 2011-09-21 16:59

>>67
I tried to find the upvote button but I failed.

Name: Anonymous 2011-09-21 17:08

>>66
Perfection is overrated.

Name: Anonymous 2011-09-21 17:10

>>69
A good programmer-maid should strive for perfection. That said, Lisp uses GC and is therefore tainted with shame.

Name: Anonymous 2011-09-21 18:16

>>59
you must be a ``3-ptr programmer''

Name: Anonymous 2011-09-21 18:51

>>71
Never used *** in my life.

Name: Anonymous 2011-09-21 18:59

>>33
nope. only in the vast majority of cases while writing 10 times more C code than it would take in a dynamic language.

Name: tdavis 2011-09-21 19:34

When I made my compiler, I did something perhaps odd.  I had a structure for a class.  I needed pointers to classes, double pointers, triple pointers... I think I said 4 was enough.  What I did was make an array of class structures there were MAlloced in a chunk and put into the hash symbol table.  Then, I could dereference a class by decrementing a type pointer.  The funny thing is I stopped at 4.  Fuck-em.

Name: tdavis 2011-09-21 19:44

wanna see?  Right at the top.

http://www.losethos.com/code/StmtParser.html

Name: Anonymous 2011-09-21 22:39

>>75
You're a piece of shit. Nobody will ever give a fuck about your crappy OS. You don't even realize how ludicrous you are when you talk about making money of your failure. Every forum has banned you, spammer, idiot.
You shared your dreams of being the next Linus here... Have you noticed? The Finnish guy is nice, polite and good looking. It took him one single post on Usenet to be popular. But you can spam days and nights nobody will ever care.
Face it, you're a sick person, an ugly schizophrenic medical monster. Your OS is another dejection of your repugnant mind.
It took you 8 years to defecate that Losethos which does not even match PC-DOS. Bill Gates would have done a better job in a couple of nights back in the days. You are twisted, I don't even want to hear about your twisted architectural choices.
Fuck off, Terry Davis... I'll do my best to ignore you from now on, there's no point in bullying a delusional retard.

Name: 2011-09-22 0:55

Name: Anonymous 2011-09-22 1:02

Google search "64-bit operating system."  Eric Schmidt said the numbers are true.

God says...
cultivated wild pest probably Russia Obama oil Japan pretty Jew Apple computer Hell heart good marriage angel virtue silly angel car patience pretty pretty software Microsoft climate food pretty pretty pretty LoseThos probably now NASA Apple food pity Vegas Heaven fun honest pretty patience oil USA art pretty car art pretty charity lust why spend pest do_it probably pretty Hell pretty pretty Europe music angel smack fire happy love Linux Christian thank you pretty pretty sad pest pretty hardware virtue you good probably fortitude China sex Old Testament silly Sun rock patience obviously sing Afghanistan virtue sin pest pest greed snow pity patience Satan pest stupid food do_it stupid Ticketmaster Afghanistan computer Google art pretty Hell food honest music pretty food Christian pretty pest pretty lust Catholic pest demon Russia fight pretty pretty Christian pretty pity Hell pretty pretty pretty angel house pest Google done

Name: Anonymous 2011-09-22 1:04

>>76
Why are you arguing with a non-sentient being?

Name: Anonymous 2011-09-22 1:10

I got 34 downloads today after releasing LoseThos V7.06.  I'll get abnother 20 tomorrrow.  I used to get those numbers every 10-14 days when I did releases.  I ran out of things to do.

I'm ahead of these guys...

http://wiki.osdev.org/Projects

That's ugly :-)

Maybe God doesn't give you the time of day, Cain?

That's ugly :-)

Name: Anonymous 2011-09-22 1:21

>>76
Please try to ignore troll posts.

Name: Anonymous 2011-09-22 1:23

losethos.com
Terry A. Davis
8144 Sickle Lane
Las Vegas, NV 89128
(702)254-4223
tdavis@losethos.com

Hey, all of you guys who were told once to go back to /b/, would you come back for a moment? There's a site to DDOS until the hosting service shut it down, pizzas to deliver, parents of a retard to harass, and many nice things.

Name: Anonymous 2011-09-22 1:34

I laugh at SETI.

One gtime I asked God how many ET civialations in the Universe.  I got an answer--a number -- it was 20 or 80, I forgot.  I died laughing.  That'll save some work!  (It's bullshit, but I was delighted I got a number word.)

10 i = i + 1
15 IF i > 99999 THEN PRINT ".";: i = 0
20 IF INKEY$ = "" THEN 10
30 PRINT "King James Bible, Line:", i

God says...
Line: 14439

Pethor, which is by the river of the land of the children of his
people, to call him, saying, Behold, there is a people come out from
Egypt: behold, they cover the face of the earth, and they abide over
against me: 22:6 Come now therefore, I pray thee, curse me this
people; for they are too mighty for me: peradventure I shall prevail,
that we may smite them, and that I may drive them out of the land: for
I wot that he whom thou blessest is blessed, and he whom thou cursest
is cursed.

Name: Anonymous 2011-09-22 1:38

>>82
We're already too busy shitspamming the fuck out of your board, assuming the identities of tdavis, n3n7i, FrozenVoid, the ultrafinitist anti-jew, the anti-GC guy, the kodak guy and countless others. Every "go back to /b/" you faggots utter only makes our collective penis harder. Anonymous is legion. We do not forget nor do we forgive. All of ours posts, including this public announcement, are made through a minimum of se7en different proxies.

Name: Anonymous 2011-09-22 1:39

wot?  Starship troopers?  One time I ask God about ET and He said to fight them.  Maybe, you're starting to get to know God.  He's lovable.

Name: Anonymous 2011-09-22 1:39

*our posts

Name: Anonymous 2011-09-22 1:41

>>84

You get out of prayer what you put into it. Tough crowd.  Just don't spam God.

Name: Anonymous 2011-09-22 1:45

Shrinks make yourselves useful... if you dare.  God likes to make us uncomfortable.  He got Obama.  He said to fight ET.  See if you think He's Jewish.  Try to connect dots and form a personality.

God says...
day wild New Testament music lust hate China fight Apple man Microsoft sin Europe please pest patience music stupid flowers parks seek charity relax give hardware computer car fortitude find hardware charity pest food Microsoft silly greed software why software Europe Satan Europe USA slavery pity music greed USA hate Linux nature patience LoseThos charity sloth smoke probably music God Japan Obama obviously demon Catholic give hardware virtue Google demon Japan hardware Heaven music music pity pest give sloth why angel please Microsoft fortitude Europe patience art save USA Egypt primates music Google art give pity climate greed save lust Africa New Testament Russia save pest Satan why done

Name: Anonymous 2011-09-22 1:48

>>88
You said ``Google'' TWICE!!!

Name: Anonymous 2011-09-22 1:50

That was disappointing.  Gotta learn to be brave and not too hung-up.  Lots of that was crap.

This is insensitive in light of disaster but I like this song cause it mentions God :-)
http://www.youtube.com/watch?v=k6rDWqjnW7w

Maybe I better quit while behind.
God says...
brother's fury turn away; 27:45 Until thy brother's anger turn away
from thee, and he forget that which thou hast done to him: then I will
send, and fetch thee from thence: why should I be deprived also of you
both in one day?  27:46 And Rebekah said to Isaac, I am weary of my
life because of the daughters of Heth: if Jacob take a wife of the
daughters of Heth, such as these which are of the daughters of the
land, what good shall my life do me?  28:1 And Isaac called Jacob, and
blessed him, and charged him, and said unto him, Thou shalt not take a
wife of the daughters of Canaan.

Name: Anonymous 2011-09-22 2:06

>>89

My original idea was to make search words to feed google so I could pick from the web.  Immediately, the search words spoke by themself!  The second thing they said was "no weights" or something like that about statistics.  (In the past, I had explored gibberish makers without the intent of God.) 

God made it clear it was a covanent that I hold-up my end before consulting Him.


He said "honest measures" which means roughly equal response, though I can't say if that's anywhere near correct.

God says...
29:35 And thus shalt thou do unto Aaron, and to his sons, according to
all things which I have commanded thee: seven days shalt thou
consecrate them.

29:36 And thou shalt offer every day a bullock for a sin offering for
atonement: and thou shalt cleanse the altar, when thou hast made an
atonement for it, and thou shalt anoint it, to sanctify it.

Name: Anonymous 2011-09-22 2:08

sort-of a dud, though they never quite flop completely.  I often get clear passages indicating no response instead of incorrect duds.

Name: Anonymous 2011-09-22 2:14

I went to google and saw "I feel lucky".  I was thrilled!  Then disappointed :-)

I lost enthusiasm for plugging God-made search words into Google.  This is hilarious and enlightening on God teasing -- I got a free-mason site and a muslim site.  I was not enjoying it!

Name: Anonymous 2011-09-22 2:16

When God's annoyed about being pestered, He will often take advantage if there is a chance to embarass you.

God says...
and with our sacrifices, and with our peace offerings; that your
children may not say to our children in time to come, Ye have no part
in the LORD.

22:28 Therefore said we, that it shall be, when they should so say to
us or to our generations in time to come, that we may say again,
Behold the pattern of the altar of the LORD, which our fathers made,
not for burnt offerings, nor for sacrifices; but it is a witness
between us and you.

Name: Anonymous 2011-09-22 2:32

It might be nice to remember a few key things God said.

http://science.slashdot.org/story/11/09/22/0111246/Brain-Power-Boosted-With-Electrical-Stimulation

How do I put this -- this is personal opinion: no single thing God says is important, sort of.  It all goes in one ear and toggles your brain and comes out the other.  It's imprecise.  You really don't want to latch-onto things too certainly. Yeah, I do it with some things, but you kinda have to keep your head on straight.  He will trick you, on occassion.  Maybe your first understanding is wrong when you see the light, later.

Just chill and relax and don't get too certain.  I say this because human nature makes the other reaction very tempting so it needs not to be said.  No worry of overreacting the other way.

God says...
  Umm... He talked and wouldn't stop.  Don't worry.  I'm sure it was crap because it went on-and-on.  It was funny tyhat it wouldn't stop.  ROFLMAO

Do I dare bug Him.


prudent man; who called for Barnabas and Saul, and desired to hear the
word of God.

13:8 But Elymas the sorcerer (for so is his name by interpretation)
withstood them, seeking to turn away the deputy from the faith.

13:9 Then Saul, (who also is called Paul,) filled with the Holy Ghost,
set his eyes on him.

----------

Oops, now you tell me ;-)

Name: Anonymous 2011-09-22 2:40

I embarassed because I like to think I wouldn't bug God in the night like this loser in this story.  But, look at me.


5 Then Jesus said to them, “Suppose you have a friend, and you go to him at midnight and say, ‘Friend, lend me three loaves of bread; 6 a friend of mine on a journey has come to me, and I have no food to offer him.’ 7 And suppose the one inside answers, ‘Don’t bother me. The door is already locked, and my children and I are in bed. I can’t get up and give you anything.’ 8 I tell you, even though he will not get up and give you the bread because of friendship, yet because of your shameless audacity[e] he will surely get up and give you as much as you need.

   9 “So I say to you: Ask and it will be given to you; seek and you will find; knock and the door will be opened to you. 10 For everyone who asks receives; the one who seeks finds; and to the one who knocks, the door will be opened.

   11 “Which of you fathers, if your son asks for[f] a fish, will give him a snake instead? 12 Or if he asks for an egg, will give him a scorpion? 13 If you then, though you are evil, know how to give good gifts to your children, how much more will your Father in heaven give the Holy Spirit to those who ask him!”
-----------------

Little boys are made of snakes and snails and puppydog tails.

Name: VIPPER 2011-09-22 4:34

Almost feels like im in /vip/.

Name: Anonymous 2011-09-25 2:36

>>34
Fuck off, spammer.

Don't change these.
Name: Email:
Entire Thread Thread List