Results 1 to 9 of 9

Thread: Anyone ever written in OCCAM?

  1. #1
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,276
    Thanks
    292
    Thanked
    837 times in 473 posts

    Anyone ever written in OCCAM?

    We're doing it at the moment. It's designed for parallelism. Quite a weird and wonderful language.

    I just wondered if anyone else had ever used it?
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  2. #2
    Flower Child stytagm's Avatar
    Join Date
    Aug 2004
    Location
    London
    Posts
    754
    Thanks
    47
    Thanked
    23 times in 18 posts
    I've never heard of it before but it sounds intriguing, can you give us an example?

    With parallelism in hardware looking like the future it makes sense to have the associated software languages to go with. Has something like this been done before yet?
    They told me I was gullible ... and I believed them.

  3. #3
    Flower Child stytagm's Avatar
    Join Date
    Aug 2004
    Location
    London
    Posts
    754
    Thanks
    47
    Thanked
    23 times in 18 posts
    I was reminded of this because I got talking to one of the old managers where I work, who remembers OCCAM, and the processors it was written for, transputers. Basically the processors were designed to be used in massively parallel boxes (10 + processors seems to have been modest), and the OCCAM language was specifically designed to make the most of that architecture.

    What caught my eye was the news about the Intel 80 core experimental processor, Like a few people mentioned, the problem comes with actually making use of all those cores, so I wondered if OCCAM might get a resurgence of interest as Multi-Core becomes the norm?

    It's interesting features include that it is implicitly parallel (ie, unless you say so specifically, any and all statements could be executed in parallel).

    I imagine that it's not much fun to write modern, large, real-world applications with this sort of thing, but maybe the principles could be borrowed into a newer, OO language?

    (There's no great point to all this, I was just interested and geeking)
    They told me I was gullible ... and I believed them.

  4. #4
    Grumpy and VERY old :( g8ina's Avatar
    Join Date
    Nov 2006
    Location
    Northampton
    Posts
    6,621
    Thanks
    2,465
    Thanked
    1,555 times in 1,046 posts
    • g8ina's system
      • Motherboard:
      • ASRock Z75 Pro3
      • CPU:
      • Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz 3.40 GHz
      • Memory:
      • 16GB Corsair 1600MHz DDR3.
      • Storage:
      • 250GB SSD system, 250GB SSD Data + 2TB data, + 8TB NAS
      • Graphics card(s):
      • XFX Radeon HD 6870
      • Case:
      • Coolermaster Elite 430
      • Operating System:
      • Win10
      • Monitor(s):
      • Iiyama 22"
      • Internet:
      • Virgin 100MB unlimited
    I've done some Ogham !

    http://upload.wikimedia.org/wikipedi...ymote_170r.jpg

    No good for programming mind
    Cheers, David



  5. #5
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,276
    Thanks
    292
    Thanked
    837 times in 473 posts
    Quote Originally Posted by stytagm View Post
    I imagine that it's not much fun to write
    indeed
    Quote Originally Posted by stytagm View Post
    modern, large, real-world applications with this sort of thing
    indeed by inheritance.
    Quote Originally Posted by stytagm View Post
    but maybe the principles could be borrowed into a newer, OO language?
    It'd be wonderful to see Java spit out a "deadlock" error, it really would
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  6. #6
    Theoretical Element Spud1's Avatar
    Join Date
    Jul 2003
    Location
    North West
    Posts
    7,494
    Thanks
    335
    Thanked
    313 times in 249 posts
    • Spud1's system
      • Motherboard:
      • Gigabyte Aorus Master
      • CPU:
      • 9900k
      • Memory:
      • 16GB GSkill Trident Z
      • Storage:
      • Lots.
      • Graphics card(s):
      • RTX3090
      • PSU:
      • 750w
      • Case:
      • BeQuiet Dark Base Pro rev.2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Asus PG35VQ
      • Internet:
      • 910/100mb Fibre
    hehe yeah i've heard of this on my distributed computing course, my lecturer goes on at length about OCCAM, INMOS Transputers and the various OS's. All interesting stuff...and quite close to what Sony are doing with the PS3s Cell processors iirc

    With intel experimenting in that line too its good to see past ideas coming back - especially as transputers were and are still a great idea - they only failed at the time for commercial reasons (each CPU was VERY expensive to produce by the time they got to useful speeds, and when you needed 20+ for some applications (or even hundreds) they just became too expensive compared to x86 tech.

  7. #7
    TiG
    TiG is offline
    Walk a mile in other peoples shoes...
    Join Date
    Jul 2003
    Location
    Questioning it all
    Posts
    6,213
    Thanks
    45
    Thanked
    48 times in 43 posts
    Ahh Occam, yes i've done this and remember getting decent marks on this on a CS course i did. Very easy if you can think logically

    Might have my course notes and code if you desperate for some more info.

    TiG
    -- Hexus Meets Rock! --

  8. #8
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,276
    Thanks
    292
    Thanked
    837 times in 473 posts
    It's been and gone, mate... I'm writing compilers now.

    Still, thanks for the offer!
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  9. #9
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by Spud1 View Post
    hehe yeah i've heard of this on my distributed computing course, my lecturer goes on at length about OCCAM, INMOS Transputers and the various OS's. All interesting stuff...and quite close to what Sony are doing with the PS3s Cell processors iirc
    lies, nobody actually *teaches* distributed computing!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Poorly written post/replies, why?
    By LWA in forum General Discussion
    Replies: 88
    Last Post: 17-09-2006, 06:04 PM
  2. Replies: 13
    Last Post: 30-09-2004, 02:42 PM
  3. If my Shuttle was a car it'd be written off by now
    By quarryman in forum PC Hardware and Components
    Replies: 2
    Last Post: 06-02-2004, 04:51 PM
  4. standard of written english
    By megah0 in forum General Discussion
    Replies: 36
    Last Post: 20-11-2003, 11:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •