Welcome, Guest. Please login or register.

Author Topic: Question for software engineering pros  (Read 3904 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline CymricTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show only replies by Cymric
Re: Question for software engineering pros
« Reply #14 from previous page: January 31, 2005, 04:12:10 PM »
@bloodline:

That's an interesting suggestion. However, for C those extensions already exist: do a Google search for 'Earth' and 'threaded C'.

However, I don't think it is wise to include multithreading support in the core language just like that. Threading is extremely dependent on the OS itself, and while most systems nowadays support POSIX-type threads, there are tons of little changes and additions in each OS. Plus you must be wary of the difference between kernel space threads and user space specimens. Some systems have just one type, the others mix them at will. Various system resources may be shared differently and thus have different visibility depending on what system you run the code. There are so many tiny quirks that I doubt adding threading support to a low-level language like C or C++ will result in something useful since most functionality will be moved to the runtime system anyway.

It's akin to neither C nor C++ offering a good, standard memory management package. I know some people prefer to clean up after themselves, but for rapid prototyping, such details are really not something you want to be bothered with. (It is also the reason why we have so many insecure systems, details and deadlines usually don't mix ;-).)
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Question for software engineering pros
« Reply #15 on: February 01, 2005, 12:47:16 AM »
Quote

Cymric wrote:
@Karlos:

You seem to like your Locks, Semaphores, Threads and what-not pretty much.


You forgot Socks and ASCII :lol:

Quote
Have you ever looked at this link? It's the most comprehensive tutorial on those techniques I know and contains tons of do's and dont's.


Interesting :-)
int p; // A
 

Offline cecilia

  • Amiga Snob
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 4875
  • Country: 00
    • Show only replies by cecilia
    • http://cecilia.sawneybean.com/
the no CARB diet- no Cheney, Ashcroft, Rumsfeld or Bush.
IFX CD Tutorial
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Question for software engineering pros
« Reply #17 on: February 02, 2005, 12:59:33 AM »
:lol:

I wondered how long it would take :-D

I can see bloodline taking on the sock tester with an almost luddite like zeal!

X-D : "It's ma job! Ma job! Ye' listenin' pal, eh? Ma job! Ah did'ne  work ma bone to the bone fer five feckin years so as ah could be replaced by this so called technological innovation! Ye' can shove your sock tester up yer arse!! Ah got all the sock testin' hardware ah need, thak ye very much pal. Ahh AROS, who's yer feckin' daddy..."
int p; // A
 

Offline cecilia

  • Amiga Snob
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 4875
  • Country: 00
    • Show only replies by cecilia
    • http://cecilia.sawneybean.com/
Re: Question for software engineering pros
« Reply #18 on: February 02, 2005, 01:16:37 AM »
Quote
work ma bone to the bone
:roflmao:
oh, what a picture THAT is!!!!! :-o
the no CARB diet- no Cheney, Ashcroft, Rumsfeld or Bush.
IFX CD Tutorial
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Question for software engineering pros
« Reply #19 on: February 02, 2005, 01:33:15 AM »
Not pleasant is it?

So anyway, this thread has derailed totally now :-)

Although I think the threads and stuff was sort of off topic. Or was it? I can't remember :lol:
int p; // A
 

Offline cecilia

  • Amiga Snob
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 4875
  • Country: 00
    • Show only replies by cecilia
    • http://cecilia.sawneybean.com/
Re: Question for software engineering pros
« Reply #20 on: February 02, 2005, 01:49:18 AM »
Quote
Not pleasant is it?
that depends on what i'm going to do with this picture.....and on THAT note.....Good Nite! :lol:
the no CARB diet- no Cheney, Ashcroft, Rumsfeld or Bush.
IFX CD Tutorial
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Question for software engineering pros
« Reply #21 on: February 02, 2005, 09:53:09 AM »
Quote

cecilia wrote:
Quote
Not pleasant is it?
that depends on what i'm going to do with this picture.....and on THAT note.....Good Nite! :lol:


:-o ... "...Everyone else has had more sex than me..."

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Question for software engineering pros
« Reply #22 on: February 02, 2005, 02:39:20 PM »
Quote

bloodline blurted:

"...Everyone else has had more sex than me..."


Is there a computer enthusiast living or dead who has never thought this at least once? :lol:
int p; // A