Slashdot Mirror


Programming Languages For Coding the Physical World

snydeq writes: Stuffing bits in databases is boring, InfoWorld's Peter Wayner writes, so why not program everything around you? "The barrier between bits and atoms is disappearing, with programmers no longer confined to the virtual realm, in part thanks to the Internet of things becoming more real. Now we can do more than write ones and zeros to a disk: We can actually write code that tells a machine how to extrude, cut, bend, or morph atoms," Wayner writes in a survey of programming languages. "Rapidly developing domains such as autonomous cars, smart homes, intelligent office spaces, and mass customization require programmers to be savvy about how changes in data structures can lead to changes in objects. If the term "object-oriented programming" weren't already taken, it would be perfect."

97 comments

  1. Uh, put down the Star Trek DVDs, chief by Anonymous Coward · · Score: 0

    You've lost the plot.

    1. Re:Uh, put down the Star Trek DVDs, chief by bughunter · · Score: 2

      Actually, it was Neal Stephenson's The Diamond Age, which was actually a good read.

      --
      I can see the fnords!
  2. Ugh by Zaelath · · Score: 5, Interesting

    That was horrible. Who is the audience for that crap?

    1. Re:Ugh by Anonymous Coward · · Score: 0

      Definitely not real programmers.

    2. Re:Ugh by frank_adrian314159 · · Score: 3, Insightful

      Agreed. A "wouldn't it be nice if the whole world had ponies" story without the ponies.

      --
      That is all.
    3. Re:Ugh by tarpitcod · · Score: 1

      X10 controlled ponies, programmed in postscript on a NeWS system.

      That's an article for /.

    4. Re:Ugh by Tablizer · · Score: 1

      It needs examples. I enjoy seeing new ways to express or encode ideas, but I'm not sure what problem the author is trying to solve or has seen solved in various languages or API's.

    5. Re:Ugh by skids · · Score: 1

      Remember the last robot story you opened and were underwhelmed to find it was just a reinvented roomba? The person who built that.

      Seriously, though, all these... ehem... "languages" and still not one that is a DSL for actual dynamic digital control systems. SIgh.

    6. Re:Ugh by Anonymous Coward · · Score: 0

      He is trying to xpress somebody else s insight.

  3. Sounds like a receipe for a nightmare by fredrated · · Score: 1

    since most programmers couldn't program their way out of an open paper bag.

    1. Re:Sounds like a receipe for a nightmare by Anonymous Coward · · Score: 0

      And most people can't spell properly.

    2. Re:Sounds like a receipe for a nightmare by LynnwoodRooster · · Score: 1

      since most programmers couldn't program their way out of an open paper bag.

      They don't need to - there's an emacs script for getting out of a paper bag...

      --
      Browsing at +1 - no ACs, I ignore their posts. So refreshing!
    3. Re:Sounds like a receipe for a nightmare by Anonymous Coward · · Score: 0

      How often do you find yourself in paper bags?

    4. Re:Sounds like a receipe for a nightmare by Anonymous Coward · · Score: 0

      You can't talk about other programmers when you can't even spell a simple word like recipe.

    5. Re:Sounds like a receipe for a nightmare by Anonymous Coward · · Score: 0

      And most people can't spell properly.

      p r o p e r l y

      Did I win?

    6. Re:Sounds like a receipe for a nightmare by Anonymous Coward · · Score: 0

      No, 8 attempts and you still didn't get it... ;-)

    7. Re: Sounds like a receipe for a nightmare by Anonymous Coward · · Score: 0

      Too often, actually. It keeps happening. I need help.

  4. Matter Oriented Programming by patlabor · · Score: 1

    Nuff said.

    1. Re:Matter Oriented Programming by Thud457 · · Score: 2

      That Fucking Article is dumbfer than A Bunch of Rocks

      --

      the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    2. Re:Matter Oriented Programming by sensei+moreh · · Score: 4, Funny

      Please don't insult rocks. Many of them have been under a lot of stress for much of their existence.

      --
      Geology - it's not rocket science; it's rock science
  5. What? by Verdatum · · Score: 5, Insightful

    I've been a software engineer for 10 years now, and I also do machining as a hobby. I have no idea what I just read. What the Hell was the point of that article? Here are some languages bundled into an article because....reasons?

    1. Re:What? by U2xhc2hkb3QgU3Vja3M · · Score: 5, Funny

      We don't use the term "machining" anymore. It's called "Subtractive 3D printing". /sarcasm

    2. Re:What? by Anonymous Coward · · Score: 1

      Yes, and if the term "making things" weren't already taken, it would be perfect!

      Maybe in another 100 years they'll figure out a hipper name.

    3. Re:What? by AchilleTalon · · Score: 1

      Funny. :-)

      --
      Achille Talon
      Hop!
    4. Re:What? by tarpitcod · · Score: 1

      Maybe we could use a name hack to come up with a new name for people who "maker" things?

    5. Re:What? by U2xhc2hkb3QgU3Vja3M · · Score: 1

      Makerians?

    6. Re:What? by Anonymous Coward · · Score: 0

      Oh crap someone modded him informative. IT WAS A JOKE! Don't learn "Subtractive 3D printing" for crying out loud!

    7. Re:What? by Anonymous Coward · · Score: 0

      are you a'makerian?

    8. Re:What? by U2xhc2hkb3QgU3Vja3M · · Score: 1

      I'm Ca'nadian.

    9. Re:What? by KGIII · · Score: 1

      Then I read the article...

      HERETIC!

      --
      "So long and thanks for all the fish."
    10. Re:What? by Jeremy+Lee · · Score: 1

      Yeah, I'm weird like that.

      (Or are you challenging me to a game? If so, hand me my chicken gun!)

      --
      Jeremy Lee | Orinoco
    11. Re:What? by KGIII · · Score: 1

      I don't like admitting this but I do actually (sometimes) read the article. I just don't go bragging about it! ;-) I've got a reputation to keep. So, pretend this message doesn't exist.

      --
      "So long and thanks for all the fish."
  6. Internet of Shit by Anonymous Coward · · Score: 0

    https://twitter.com/internetofshit?lang=en

    1. Re:Internet of Shit by Anonymous Coward · · Score: 1
  7. Huh? by Frosty+Piss · · Score: 1

    "Stuffing bits into a database is boring"? Maybe to some people, but as a database engenner (yes I have a CS degree), who deals with huge databases with thousends (or more) complex relationships, I've always found database theory fastinating. In any case, I'm not sure what "boring" relationship this has to writing code the "tells a machine how to extrude, cut, bend, or morph atoms". I smell many buzz words purcolating out of this guy...

    --
    If you want news from today, you have to come back tomorrow.
    1. Re:Huh? by 110010001000 · · Score: 1

      I too am an engenner with thousends of complex relationships I find fastinating.

    2. Re:Huh? by Tablizer · · Score: 1

      Databases are a nice tool for managing bunches of attributes. If you are doing something trivial, maybe they're overkill, but if you have lots of data and relationships, they are often the best tool for the job.

      The alternatives are usually uglier.

      For example, sometimes I wish involved GUI's were managed in databases, because managing bunches of GUI attributes in source code grows into a nightmare. You'll want to search, sort, study, change, and group GUI info by different aspects at different times. Doing this with bunches of source code can be a PITA.

      (However, GUI's would be better served with "dynamic relational" (DR) instead of "static relational" in my opinion. I'm waiting for somebody to implement DR.)

    3. Re:Huh? by Anonymous Coward · · Score: 0

      Yes, they're "purcolating."

    4. Re: Huh? by Anonymous Coward · · Score: 0

      Such a way with words!

    5. Re:Huh? by phantomfive · · Score: 1

      If you are doing something trivial, maybe they're overkill,

      In those cases, sqlite can be a nice compromise, not too heavy, but easier than creating your own file format.

      --
      "First they came for the slanderers and i said nothing."
    6. Re:Huh? by Archfeld · · Score: 1

      Just a *nix admin working on a giant TerribleData(Teradata) implementation here. But what DBAs do is sort of amazing sometimes, when it doesn't make me sick to death because of the venality behind it.

      Note : Not blaming the DBAs, they are usually just implementing what the PHBs think they want...

      --
      errr....umm...*whooosh* *whoosh* Is this thing on ?
    7. Re:Huh? by Tablizer · · Score: 1

      Perhaps it's a side issue, but I'm ticked that Php dicked around and changed their "official" API calls to sqlite. That makes me not trust usage of sqlite as much. It also has odd error handling (or non-handling in some cases) that's poorly documented. The reasoning behind their choices seems to be very off or ad-hoc.

    8. Re:Huh? by phantomfive · · Score: 1

      I can honestly say I've never used PHP, but I'm sorry you had to go through that. I hate it when programmers change APIs for no reason.

      --
      "First they came for the slanderers and i said nothing."
    9. Re:Huh? by dcw3 · · Score: 1

      as a database engenner (yes I have a CS degree), who deals with huge databases with thousends

      Well, that explains why we're getting the wOrNG aNSwErs from your DBs.

      --
      Just another day in Paradise
    10. Re:Huh? by Tablizer · · Score: 1

      They stated a reason, but it was a dumb one in my opinion because it had multiple work-arounds that were far less problematic than breaking the API interfaces.

    11. Re:Huh? by phantomfive · · Score: 1

      That sounds like a PHP thing to do. :)

      --
      "First they came for the slanderers and i said nothing."
  8. Keep it up. You'll invent robots soon enough. by xxxJonBoyxxx · · Score: 2

    >> Now we can do more than write ones and zeros to a disk: We can actually write code that tells a machine how to extrude, cut, bend

    Keep it up. You'll invent programmable robots and automated control systems within a week at that pace.

  9. Nathan Brazil . . . by msk · · Score: 1

    . . . warns you to stop before you rip a hole in the fabric of reality.

    1. Re:Nathan Brazil . . . by Tablizer · · Score: 1

      stop before you rip a hole in the fabric of reality.

      too late. Comcast & Trump unleashed.

  10. Code telling a machine how to cut atoms by Anonymous Coward · · Score: 0

    Either it is alluding to nuclear reactor control software or this article is utter technobabble.

  11. Okay? by WSOGMM · · Score: 2

    The significance of this article is unclear. I suppose the OP is pointing out the fact that programming languages are becoming more specific and 'tangible' to real-world applications.

    Today, many of the new markets and opportunities for developers live in the real world. Rapidly developing domains such as autonomous cars, smart homes, intelligent office spaces, and mass customization require programmers to be savvy about how changes in data structures can lead to changes in objects.

    I think this quote is sort of the thesis of the article. Even still it's really ambiguous. What opportunities don't live in the 'real world'? Does he mean that information transfer isn't 'physical'? Or is he specifically talking about robotics? User-interfaces? This person needs to work on clarity, and this article should not have been posted on Slashdot.

  12. merely a naive beginner waxing rhapsodic by Anonymous Coward · · Score: 0

    Wow - that takes me back to the 70s.... Age of Aquaruis type stuff...

    So is there ANYTHING that cannot seem profound under the correct combination of drugs/food/music/etc... ?

  13. Thank you brave readers... by krisbrowne42 · · Score: 2

    Thank you everyone who braved that tripe so later ./ers could avoid losing brain cells.

    1. Re:Thank you brave readers... by Trailer+Trash · · Score: 1

      Thank you everyone who braved that tripe so later ./ers could avoid losing brain cells.

      Carmack the Magnificent:

      "The reason /.ers don't RTFM."

  14. Seriously? by Anonymous Coward · · Score: 0

    What a bunch of garbage fluff. One of the worst stories on /. ever.

  15. So POOP then by Anonymous Coward · · Score: 0

    Physically Object Oriented Programming

    1. Re:So POOP then by __aaclcg7560 · · Score: 1

      POOP Standard Interface Endpoint (POOPSIE)

    2. Re:So POOP then by rubycodez · · Score: 1

      so I could basically somehow programmable control with something like a POOP extruder? where would I get the POOP? Is there a biodegradable source of POOP near me? How would I ensure repeatability and regularity of my POOPing?

    3. Re:So POOP then by KGIII · · Score: 1

      I'm working on it. I'm going to write a shim so that I can use my Asymmetric System Script. Gimme another day or two and I'll be ready to show it to the world!

      --
      "So long and thanks for all the fish."
    4. Re:So POOP then by Anonymous Coward · · Score: 0

      I'm pretty sure you're looking to master the matterhorn.

    5. Re:So POOP then by dcw3 · · Score: 1

      where would I get the POOP?

      In the POOP deck. You just apply a little Olive oil.

      --
      Just another day in Paradise
  16. There's a certain audience for this type of post by FireballX301 · · Score: 5, Insightful

    I've always maintained definitions of the 'enthusiast' and the 'professional' when it comes to sufficiently technical fields. The enthusiast reads some media briefs, becomes enamored with some tech, wanders into his imagination in order to describe what the tech is actually capable of, then writes articles like this talking about how awesome their tech is and what it can do, while sitting in a coffeehouse waiting for their freelancer's paycheck to clear. These articles spawn another generation of 'enthusiasts', and the enthusiasts swirl around each other in a whirlpool of 'factoids' and buzzwords while other people try to extract money from them with silly books and scam kickstarters

    The professional in the field has an actual job and deliverables and has no time for any of the aforementioned nonsense. New professionals are created when intelligent people read those articles and goes 'the fuck is this shit', then does actual technical research.

    I used to blame Kurzweil for a lot of this but it goes back much further in history.

  17. Programming in bits is boring, why not by Squallop · · Score: 1

    Programming in bits is boring, why not program in bits but make it sound like something totally different!

    1. Re:Programming in bits is boring, why not by Anonymous Coward · · Score: 0

      I recommend programming in nibbles.

    2. Re:Programming in bits is boring, why not by dcw3 · · Score: 1

      Byte me

      --
      Just another day in Paradise
    3. Re:Programming in bits is boring, why not by Zeroko · · Score: 1

      Word.

    4. Re:Programming in bits is boring, why not by Anonymous Coward · · Score: 0

      Word.

      dcw3 here...I believe you are the winner.

    5. Re:Programming in bits is boring, why not by Anonymous Coward · · Score: 0

      A limerick from a long-ago issue of Omni Magazine:

      If binary digits are bits,
      Then decimal ones could be dits,
          And when things grow weary,
          Try something less dreary,
      Like playing with trinary tits.

      [Sorry for the lack of attribution - totally from memory]

      - T

  18. you @ fail 1+ ! -- They even missed the best FORTH by tarpitcod · · Score: 1

    Epic. Mention postscript; mention X10 (Not a language), don't mention Forth.

  19. Re:I think it was aimed at Rust programmers. by Killall+-9+Bash · · Score: 1

    The article is aimed at getting more people interested in programing as a career. Big companies are not happy about how much time and effort (and money) they spend woo-ing programmers, and the also don't like all the H1-B heat they're taking.

    Solution: make everyone a programmer.. EVERYONE. Goal will be reached when kernel hacking is a minimum wage job.

    If you think this is far-fetched, you're not paying attention.

    --
    "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
  20. Re:Keep it up. You'll invent robots soon enough. by rubycodez · · Score: 1

    wow, we could call things created by such machines as Cyber Numary Created or CNC. I think CNC machining could actually be viable simply by using D/A converters and stepper motors on traditional mills, lathes, breakers, etc. or maybe it's just crazy talk.

  21. Too heady by JesseEnjaian · · Score: 1

    You'll always need low-level and high-level skills. C and C# are my choices. Assembler and knowledge of computer architecture is great too. Computing is always being pushed to the limit, so established computer engineering techniques (e.g., algorithms) will need to be implemented in a https://en.wikipedia.org/wiki/... no matter what the "platform."

  22. Thesis? by Irate+Engineer · · Score: 1

    Is it too much to ask that the posts actually, I don't know, have a thesis? What is the topic of discussion here?

    Why don't we just go to the bus station downtown and transcribe the ravings and mumblings of the first street person we meet? That might actually be more informative that these posts.

    --

    Left MS Windows for Linux Mint and never looked back!

    Vote for Bernie in 2016!

    1. Re:Thesis? by KGIII · · Score: 1

      I know you're not new here. This isn't even the worst article by far. Well, it's not the worst summary. Hell, these aren't even the worst comments.

      --
      "So long and thanks for all the fish."
    2. Re:Thesis? by dcw3 · · Score: 1

      Why do you want to change the way it's been?...you must be new here. Yup, you are...2814313

      --
      Just another day in Paradise
  23. iec 61131-3 by Anonymous Coward · · Score: 0

    Wow! What a pointless article - and lousy languages for "programming the world" - My take (being doing this for 15+ years in heavy industry) is:
            IEC61131-3

    Cheers

  24. Real-Time OS? by johnrpenner · · Score: 1

    heh — i thought he was referring to some sort of real-time OS that was able to handle interrupts with really low-latency, or something devised in LISP which dealt with high-level feature-abstraction about real-world objects.

    meh — he's just talking about languages with which you programme controllers — and the current languages which are already adequate to that.

  25. Objectification by Hylandr · · Score: 1

    "Object-Centric Programming"

    --
    ~ People that think they are better than anyone else for any reason are the cause of all the strife in the world.
  26. Attn: Whipslash by sundarvenkata · · Score: 1

    Since you present a refreshing change by actually listening to Slashdot users, please make some effort to stop content-free articles like this. Thank you!

  27. Re:There's a certain audience for this type of pos by Anonymous Coward · · Score: 1

    Enterprise Architects believe in this stuff you know.

  28. There's almost NOTHING I can't code via... apk by Anonymous Coward · · Score: 0

    Delphi Object Pascal (or on Linux, FreePascal & Lazarus IDE, an almost EXACT clone of ->) http://www.embarcadero.com/pro...

    * FASTEST RISER IN THE TIOBE INDEX 2014-present -> http://www.tiobe.com/tiobe_ind...

    (TOP 10, again, & up from WHO KNOWS WHERE... not too shabby!)

    Delphi "got ahold of me" back in 1997 (though I used it from version 1.0 in 16-bit as far back as 1995 professionally for Goulds Pumps, a then Fortune 500) where in, of ALL places, a competing language's trade journals (Visual Basic Programmer's Journal Sept./Oct. 1997 issue titled "INSIDE THE VB5 COMPILER") it took 4/6 tests (losing only 1, which C++ did also, in a dead tech now of ActiveX forms loads which VB actually won, & tying 1 w/ MSVC++) & SWEEPING THE FLOOR with MSVC++ & VB5 - actually LITERALLY more than DOUBLING even C++ in Math & Strings work (which, face it, EVERY program works with)).

    APK

    P.S.=> Why change? Especially when I've created a "best of breed" program in it that gives users more speed, security, reliability & even anonymity than ANY other SINGLE "so-called 'solution'" out there, for FAR LESS resource consummation:

    APK Hosts File Engine 9.0++ SR-4 32/64-bit http://www.start64.com/index.p...

    Highly RECOMMENDED & HOSTED by none other than Malwarebytes' hpHosts admin no less proven safe by him & 60++ antivirus tests... apk

  29. including evertything... by Anonymous Coward · · Score: 0

    learn perl or die;

  30. What? by Jeremy+Lee · · Score: 1

    When I read the description, I thought "Ah, someone's trying to re-invent G-code". Then I read the article and realized, "No, someone's just _discovered_ g-code".

    Well done. Only took them about 20 years. Not sure why the achievement merits an article. ("News Flash: BASIC exists!")

    Doubly not sure why the article even rated a mention in /.

    --
    Jeremy Lee | Orinoco
  31. Re:Keep it up. You'll invent robots soon enough. by KGIII · · Score: 1

    Yeah, I'm thinking that's too complicated for today's technology. Though, I am kind of curious as to how they're gonna go about bending an atom. That's gonna be a minute. I'm no physicscologist or nuffin' but that sounds pretty hard.

    --
    "So long and thanks for all the fish."
  32. Re:Keep it up. You'll invent robots soon enough. by rubycodez · · Score: 1

    can't be any harder than spoon bending

  33. Feng shui by Anonymous Coward · · Score: 0

    My mother did this, way back. I still don't understand why there needs to be a mirror facing out the house back door.. but it must work because no evil has entered that way since she put it up.

    1. Re: Feng shui by Anonymous Coward · · Score: 0

      On an unrelated note, my step father always uses the front door as he feels uncomfortable walking into the house via the back door

    2. Re: Feng shui by dcw3 · · Score: 1

      Your mother probably wouldn't let him in that way.

      --
      Just another day in Paradise
  34. So which languages would you have listed? by joeblog · · Score: 1

    While everyone seems to agree the 12 selected programing languagnes are bad, I haven't seen too many suggestions of improvements.

    I found the omission of AutoLISP odd since it certainly seems to have been the main language of 3D printing a while back.

    Agreed, PostScript is essentially an implementation of Forth and naming the parent language would have been smarter.

    SVG is supported by most browsers these days, but doesn't seem to have taken off in a big way for some reason. I still see it as an important technology one day.

    What are the suggestions for what the list should have contained?

    --
    If it works, it's obsolete
    1. Re:So which languages would you have listed? by NorthWestFLNative · · Score: 1
      I will admit that he article was poorly written, but it appears that the list is a set of technologies that work together for interconnected devices. Not every technology that the author listed are programming languages. X10, Insteon, Zigbee, and Z-Wave are communication protocols for interconnected devices.

      Personally can't see any reason that a person might want to:

      Send themselves a message if they forget to arm their security system when leaving their house
      Automatically turn on the lights in their home when they arrive after dark for safety and security
      Set their thermostat to more energy efficient temperatures when they leave home or comfortable ones when they arrive
      Notify themselves if a window or door is open when it starts to rain
      Automatically turn off the lights, TV, lock doors, and close the garage door when they leave
      Turn lights and TV on and off randomly when they're not home to make the home appear occupied to potential thieves.
      Turn on all lights if the smoke alarms go off at night so that the home owner can see to evacuate safely
      Send a message if their kitchen sink starts to leak

      Frankly I'm surprised that /. doesn't seem interested in home automation technologies.

    2. Re: So which languages would you have listed? by Anonymous Coward · · Score: 0

      Because everything you just mentioned is a fucking security nightmare. We know the tech, we know what it needs to run, and currently, it's a shitfest. Throw shit at a Kickstarter campaign, if it sticks, it's IoT ready.

    3. Re:So which languages would you have listed? by joeblog · · Score: 1

      Not every technology that the author listed are programming languages. X10, Insteon, Zigbee, and Z-Wave are communication protocols for interconnected devices.

      Kudos to the article for introducing me (for one) to those above technologies. They might indeed be insecure (according to AC comments not backed by any references) but at least now I'm aware of them and can read up about them.

      Frankly I'm surprised that /. doesn't seem interested in home automation technologies.

      Sadly a lot of comments, in this threat at least, harken to a very small town, parochial view.

      --
      If it works, it's obsolete
  35. Actually agree by Anonymous Coward · · Score: 0

    I realize that all these other comments hate the article, but I could relate to a couple points. I'm programming a 3D scanner right now with Python and STL files, and they work great.

  36. Ugh by Anonymous Coward · · Score: 0

    More nonsense.

  37. The 1980s called by Blaskowicz · · Score: 1

    and they asked about how microcontrollers are doing.

    So, cars have had computers for the last 30 years, washing machines have had computers for 30 years and we have more tiny computers in our computers (such as a battery charge controller?)

    Washing machine have gained a useful feature : two-digit display that tells an estimate of the time remaining.
    What more do we really need? Why does an oven need more than some tiny mechanical bell and turning the heat off when time is elapsed?
    Why does an "environment control" system needs to snitch on you whereas one-way data (from the environment TO the object) would suffice? e.g. time of day, luminosity etc. for a window that opens and closes or curtains that slide themselves etc.

    There may not have been "IoT" and voice recognition to toggle the lights, but when I grew up there was already an industry infrastructure that had put CPUs in a lot of things. The VCR, Game Boy, microwave, toys, CD player, TV, ad nauseam. So most "things" that would benefit from having a CPU already have one.

    Now about maker skills. So, I'm informed I can spend $300 on a printer to make small one-piece plastic objects. But how to do basic sewing? How much does a sewing "starter kit" cost? No one under 35 does that anymore lol.