SMP Update?

trekiej · 13735

trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #30 on: January 08, 2019, 10:37:22 PM
I still have the Be Book, maybe I read it in there.
It could have been from some web site.
I do have R3 and R5 Pro. Sad, I got rid of two Macs that could have had BeOS installed on them.



hth313

  • Newbie
  • *
    • Posts: 15
    • Karma: +0/-0
Reply #31 on: January 08, 2019, 11:10:14 PM
A bit off topic, but...

If you are into assembly language, then C is a good choice once you get a hang of it. C is essentially a processor independent assembler. Meaning, you will have a good grasp of what your "high level" code actually means in assembly instructions, but you do not need to bother about keeping track of registers as the C compiler does it for you.

If you study the code generated without optimizations enabled, you should get a good grasp of what is going on. If you then let a good optimizer do its work, you will probably have a harder time understanding how it can change it so much, and you will probably appreciate the work it does.

If you want to take the C route, "Expert C programming - Deep C secrets" is a good second book. It is written by a compiler engineer at Sun.

Pascal is a language in the same family, essentially the same thing with a bit different syntax (ducking).



trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #32 on: January 08, 2019, 11:21:35 PM
 ;D
 8)



magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #33 on: January 08, 2019, 11:24:48 PM
Thumbs up for your take on c/assembly

...
Pascal is a language in the same family, essentially the same thing with a bit different syntax (ducking).
Can't have that ill comparison ... better start fleeing instead of ducking  :P

But yes, essentially there is no difference. Ugly c can litterally be ported to even so ugly Pascal code (and vice verse)

C is close to assembly and that is a pro when you are into that. The pro of Pascal is that it can be much easier to read and is more oriented at preventing you from making mistakes (although modern c compiler settings can be very strict as well). It is a bit difficult to advocate Pascal as AROS itself is written in C (so if AROS system development is your goal then certainly choose c) but if you are new or only hobby programmer making small tools and/or end-user applications then i find Pascal much more friendly (the faster compile time is a pro for newbies).


magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #34 on: January 08, 2019, 11:42:47 PM
Unfortunately, I have never been a Pro. Programmer.
It actually doesn't really matter. In case you are really struggling then perhaps an scripting language like hollywood might be the better choice (also much more users available).


Quote
Cobol was done in clas back in Fall 2004, Assembly as well.
I'm not very experienced with COBOL (and it was ages ago), but i've read that there is Objects in newer COBOL dialects. Have you perhaps got experience with that as well  ?

Quote
I need to start a blog for this.
For sure it can help put your thoughts in order and at the same time allows for some feedback (in case someone is following your blog). As an alternative feel free to start your own dedicated thread on any of the boards (preferably here of course  :) ) and share your experiences with others.


Quote
After that back to math classes and teacher cert. classes.
You are getting your certificates to become a teacher ? nice ! i wish you luck with that.


PurpleMelbourne

  • Newbie
  • *
    • Posts: 31
    • Karma: +0/-0
Reply #35 on: January 08, 2019, 11:50:00 PM
I still have the Be Book, maybe I read it in there.
It could have been from some web site.
I do have R3 and R5 Pro. Sad, I got rid of two Macs that could have had BeOS installed on them.
I just bought a cheesegrater PowerMac G5 dual 1.8 for $75 (about US$60). Its currently performing great service as a coffee table. But at some time in the future I plan to try AROS etc on it. You could probably get a second hand one too for putting BeOS or Haiku onto. I don't know if there is a PPC version of Haiku being maintained up to date. I think it might only be x86



PurpleMelbourne

  • Newbie
  • *
    • Posts: 31
    • Karma: +0/-0
Reply #36 on: January 09, 2019, 12:00:59 AM
I need to start a blog for this.
I do have a blog, it is about my A1000 ROM switcher board.
Cool :)
I just pulled an A1000 out of the barn (I literally stored it there like 10 years ago!) and plan to put a Vampire in it to make it better than my A4000  ;D

So if you talk about tinkering on the A1000 I for one would love to hear about it.

What I'd REALLY love to see is AROS on the Vampire making full use of the new Hyper-threading feature. If they can make that work, then perhaps they will upgrade the Vampire to have multi CPU cores like a BeOS machine.

Apparently there are problems at the moment. But if the Raspberry Pi multi core version works out, and the ARIX experiment works out... then perhaps we could have multi core ARIX on Amiga working with new software and an AROS VM "container" to run the software which wont like the changes (apparently 90% of existing software will break!). That would allow the Amiga to go multi-core in a way that Gunnar from Apollo explains is not currently viable for the Amiga due to breaking almost all software.

The Amiga is coming back. And the AROS team deserve a big thank you for all of us!



trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #37 on: January 09, 2019, 12:12:51 AM
PurpleMelbourne: The Macs were 8500's, and one had a G3 cpu card.  :(
I gave away a bunch of computers over the years.

Magorium: I am working to be a high school math teacher.
I also need to work with Mathematica, eventually.  :(
Os work is out of the question. I guess I am looking to use programming to do simulation.
I would love to bring CUDA/Tesla to Aros.
I do not know how to make libraries yet.



trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #38 on: January 09, 2019, 12:20:37 AM
Aros:  I am looking for Aros 64 SMP on Raspberry Pi or some other low cost board with all the bells and whistles.
           I hope to see it on AMD_64 too.
Amiga OS4.1:  I hope to play games on it with the pass-through option that qemu will some day have. That is good for Aros too.
                           I think I can play games on it now. It is compositing that hinders for now, I think.



magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #39 on: January 09, 2019, 12:54:59 AM
Magorium: I am working to be a high school math teacher.
Cool.

Quote
I also need to work with Mathematica, eventually.  :(
The software from wolfram you meant ?

In that case you might find things like MUIPlot interresting as well (no comparison to Mathemetica of course, but still a nice program for Amiga/Aros users).

... and to get back on topic SMP stands for Symbolic Manipulation Program (computer algebra) so what were we talking about in this thread again ? :)


trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #40 on: January 09, 2019, 01:27:35 AM
Lol, yes by Wolfram.
Going off to start a new thread.



cdimauro

  • Member
  • ***
    • Posts: 164
    • Karma: +26/-1
Reply #41 on: January 09, 2019, 03:52:51 PM
I heard that BeOS could make all its programs multi-threaded automatically.
At most it's an urban legend: only programMERs can write multi-threaded code, and... manually. An o.s. cannot certainly do it, even automatically.



trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #42 on: January 09, 2019, 06:00:43 PM
I wonder if it could happen during compilation.



Transdude1996

  • Newbie
  • *
    • Posts: 25
    • Karma: +0/-0
Reply #43 on: January 09, 2019, 06:50:01 PM
I heard that BeOS could make all its programs multi-threaded automatically.
At most it's an urban legend: only programMERs can write multi-threaded code, and... manually. An o.s. cannot certainly do it, even automatically.
Isn't Crysis a prime example of this?



trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #44 on: January 09, 2019, 07:47:03 PM
I don't know. scratching my head.