Announcement

Collapse
No announcement yet.

Even Apple Is Interested In Migrating Their C Code To Rust

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ssokolow
    replied
    Originally posted by kpedersen View Post

    This is a critical "flaw" in all other languages. Not being C makes a language annoying for systems development because we need to either write our own bindings, or drag in a dependency on someone elses bindings (often out of date and unmaintained).

    C++ and Objective-C are the closest because they are C (mostly); and they extend it. Then I just need to write thin safety (RAII) wrappers.

    If Rust could directly consume C headers and link against C libraries; it would be a game changer.
    bindgen isn't automatic enough for you?

    Leave a comment:


  • Tomin
    replied
    Originally posted by r08z View Post
    There hasn't been a programming language that has beaten C in speed and energy usage yet. Rust is impressive and is the closest thing out right now. But it's not C.
    Well, that's really close. What is Mb column? Program size? Also what is the source for that image? I'd like to take a better look how that comparison was made.

    Leave a comment:


  • kpedersen
    replied
    Originally posted by r08z View Post
    Rust is impressive and is the closest thing out right now. But it's not C.
    This is a critical "flaw" in all other languages. Not being C makes a language annoying for systems development because we need to either write our own bindings, or drag in a dependency on someone elses bindings (often out of date and unmaintained).

    C++ and Objective-C are the closest because they are C (mostly); and they extend it. Then I just need to write thin safety (RAII) wrappers.

    If Rust could directly consume C headers and link against C libraries; it would be a game changer.
    Last edited by kpedersen; 03-21-2020, 07:57 AM.

    Leave a comment:


  • Nille
    replied
    That its not C is a Pro Argument. And Rust is one of the only alternatives that is secure and capable to replace C

    Leave a comment:


  • r08z
    replied
    There hasn't been a programming language that has beaten C in speed and energy usage yet. Rust is impressive and is the closest thing out right now. But it's not C.

    Leave a comment:


  • yariv
    replied
    Some people, when confronted with a low-level programming task, think "I know, I'll use Rust." Now they have two... no, wait, that's actually a good idea.

    Leave a comment:


  • Nille
    replied
    Originally posted by Candy View Post
    So Rust will go down the path of CUPS?
    Rust is not developed and Maintained by one Person.

    Leave a comment:


  • Candy
    replied
    So Rust will go down the path of CUPS?

    Leave a comment:


  • ddriver
    replied
    What? No objective c? No swift? What a shame...

    Leave a comment:


  • NateHubbard
    replied
    "Even Apple Is Interesting In Migrating Their C Code To Rust"

    No, Apple really isn't that interesting anymore.

    Leave a comment:

Working...
X