Post ApXgaM89OW9iYzaOB6 by [email protected] | |
More posts by [email protected] | |
Post #ApXKoW27AwC6L36qga by [email protected] | |
0 likes, 0 repeats | |
Say you have a 26-year-old codebase of around 10,000 lines of C (a CLI app for … | |
Post #ApXKxGIV39Lc8owaTQ by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Java | |
Post #ApXLGZ7vGb7i2eCXfk by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Modern C++. It was published in the same year as Rust. :) | |
Post #ApXLQw4ymhpQ7illr6 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Rust | |
Post #ApXLda9Ld5A5sIqKVk by [email protected] | |
0 likes, 0 repeats | |
@nixCraft AmigaDOS | |
Post #ApXLeFuaMMJDOgG8Ke by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Rust or Zig if ultimate performance is needed thus no GC, Python if i… | |
Post #ApXLupqYWPuBTsHQm0 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Go | |
Post #ApXLy5vVC5t2Di9EWm by [email protected] | |
0 likes, 1 repeats | |
@nixCraft I would do it in PHP if it's a chore. Easy, stable, nice ecosyste… | |
Post #ApXLzc15MyCq2FU1HU by [email protected] | |
0 likes, 0 repeats | |
@nixCraft If it is supposed to live on for another 25 years, then I'd chose… | |
Post #ApXM2oHwCRKmxqtH2O by [email protected] | |
0 likes, 0 repeats | |
@nixCraft zig | |
Post #ApXMBSfXwshWWI3hFg by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Rust for great error handling and test suit that allow for huge codeb… | |
Post #ApXMPg0FAdjPvbWAKG by [email protected] | |
0 likes, 1 repeats | |
@nixCraft :javascript:*dabs and runs away full speed* | |
Post #ApXMX2if6sD2PPo4rw by [email protected] | |
0 likes, 0 repeats | |
@nixCraft GameMaker Language | |
Post #ApXMd3cWflvmwOnwae by [email protected] | |
0 likes, 1 repeats | |
@nixCraft depends why you are re-writing it. In general though: don't! | |
Post #ApXMjFuXtCVknUBkzQ by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I’d refactor it using C or Objective-C. See @objfw.#objc | |
Post #ApXN1yoffgerHTMxWK by [email protected] | |
0 likes, 1 repeats | |
@nixCraft Rust :rust: | |
Post #ApXNGYU1rJHrxEfEqu by [email protected] | |
0 likes, 0 repeats | |
@catsalad lol 😂 your programming license revoked for 3 days 😂 | |
Post #ApXNKNfE1k43Yaj1hw by [email protected] | |
0 likes, 0 repeats | |
@nixCraft If it needs to run 25 years - well you need to find developers. So I … | |
Post #ApXNYSFXm3F7pkQLNg by [email protected] | |
0 likes, 0 repeats | |
@nixCraft C++ | |
Post #ApXNe4C283D6xdSSDw by [email protected] | |
0 likes, 1 repeats | |
@nixCraft if it is something that I will have to maintain, I would choose a lan… | |
Post #ApXNg0IDbJSZRZH5Wa by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I think the best choice here is #PowerShell | |
Post #ApXO166lAvU7YnyPGC by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Might as well use Cobol. What are 10.000 lines of C, when someone can… | |
Post #ApXO5WvxNbF9uw2A6K by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I don't like Python but I think it would make sense for a unix cl… | |
Post #ApXO8qGxw0r8lSRKoC by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Go | |
Post #ApXOA3Wq8P7MAPRZSq by [email protected] | |
0 likes, 0 repeats | |
@nixCraft C | |
Post #ApXOCD3jffSQIwrDhg by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I would recommend going for the language you're most comfy with. … | |
Post #ApXODdyV5L9U4U5nOq by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Of the given alternatives I would choose Rust.The reason is simple: R… | |
Post #ApXOZPYzLatJkIXU3s by [email protected] | |
0 likes, 0 repeats | |
@nixCraft whatever gets the job done in the fastest, cleanest, most portible wa… | |
Post #ApXOjibDQXM5gFUmkS by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I think the first question you should ask.... does it really need rew… | |
Post #ApXPPureDSsfslIqYK by [email protected] | |
0 likes, 0 repeats | |
@nixCraftUse your favorite hammer.If you want to learn a new hammer or don'… | |
Post #ApXPkkmgt8bEhWv8CW by [email protected] | |
0 likes, 0 repeats | |
@nixCraft of these three? go for the strongly typed #rust. No contest IMHO. | |
Post #ApXPkvF40VEl8QGvoW by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I would do it in Python, but I'd understand the choice for Rust a… | |
Post #ApXQsnxr3542poXs3s by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I read something recently that said Go is a language you can get to 1… | |
Post #ApXTGRIDC0ttNVSs2y by [email protected] | |
0 likes, 0 repeats | |
@nixCraft C again | |
Post #ApXTHhc5zx9UHlMqrw by [email protected] | |
0 likes, 0 repeats | |
@nixCraft C or D | |
Post #ApXTtU3iqEpHFeIz56 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Depending on the complexity of the task it solves and the runtime of … | |
Post #ApXUbz5Ypqe8EJNuUa by [email protected] | |
0 likes, 0 repeats | |
@nixCraft how about… C? #clang | |
Post #ApXUs9Sa2iQl1rrRU8 by [email protected] | |
0 likes, 0 repeats | |
@nixCraftC again if I want the compatibility, plus it would allow me to rewrite… | |
Post #ApXUt915B3H3wXTMES by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Rust or Modern C++ | |
Post #ApXVZkmZ9fUbEb04PI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Depending on performance requirements:- no notable startup or runtime… | |
Post #ApXWiCT6CdJHN7UCUi by [email protected] | |
0 likes, 0 repeats | |
@nixCraft rust | |
Post #ApXWkxRwUwzRf3GBvs by [email protected] | |
0 likes, 0 repeats | |
@nixCraft C.Certainly not any interpreted languages. | |
Post #ApXZD9P1qnMikWT6R6 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Perl | |
Post #ApXaMKgJNyJkI3UiYK by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Rust | |
Post #ApXaZSUPfOSqGsBi1A by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Love the one vote for perl! (I would personally do it in python ... … | |
Post #ApXgaM89OW9iYzaOB6 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft @catsalad and the time resets every time a new js web framework is an… | |
Post #ApXi48o3b6ZjsgxCT2 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Why change the language? re-write it in C. See how much better you ar… | |
Post #ApXiTA8vlTqjGZeGps by [email protected] | |
0 likes, 0 repeats | |
@jean_dupont those are some good points. thank you. | |
Post #ApXiZq7qaUyTD6KFcm by [email protected] | |
0 likes, 0 repeats | |
@Chris1776 OMG. | |
Post #ApXmRR2qLwYKvLEViS by [email protected] | |
0 likes, 0 repeats | |
@nixCraft please don't forget the distro maintainers when making this choice | |
Post #ApXnXBhqOWur2kiYjI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft is it just a codebase? Though you say it is a CLI app, that does not… | |
Post #ApXqOQmlGDJx4EX9Y8 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft related: https://fishshell.com/blog/rustport/ | |
Post #ApXqUHUuhnjTzzyWcy by [email protected] | |
0 likes, 0 repeats | |
@nixCraft #RATFOR | |
Post #ApXw33TbKLvaQ3lJJY by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I don't think you mised it, but fish dev really sell it well!http… | |
Post #ApY0vVuaDnca40bdnk by [email protected] | |
0 likes, 1 repeats | |
@nixCraft c++ | |
Post #ApY6eHQJR12tvnc3Qe by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Pretty much any language you're comfortable with. | |
Post #ApYAQFgrTtUkJov6A4 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Swiftlang is actually very nice | |
Post #ApYAfWgwYLFdOJF2GW by [email protected] | |
0 likes, 0 repeats | |
@nixCraft controversial Opinion, I know. Maybe a language you already know ^^ | |
Post #ApYApXkzRmTXaguXI0 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Honestly, C, but that's just because I'm too lazy to learn a … | |
Post #ApYC5zS2LdQ04RS52W by [email protected] | |
0 likes, 0 repeats | |
@nixCraft It is just stupid idea 😁 | |
Post #ApYCe6ZcNFB80QGUzY by [email protected] | |
0 likes, 0 repeats | |
@nixCraft zig would be the obvious choice from c. | |
Post #ApYKWlSlGOdo8f4K5A by [email protected] | |
0 likes, 0 repeats | |
@nixCraft You should use a hip new language to attract some cool new kids to yo… | |
Post #ApYVo3KhAxZ7yok4pc by [email protected] | |
0 likes, 0 repeats | |
@nixCraft 1. Don’t rewrite it unless there’s something you need to do and y… | |
Post #ApZQMyofYT35XZzelM by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Zig | |
Post #ArowfnqBnV6rKeclg8 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft for reference a two parts story:https://jhoneill.github.io/powershell… | |
Post #Asm7vZZMblx1BvJiKW by [email protected] | |
0 likes, 0 repeats | |
@Chris1776 @nixCraft wau, this is the most fancy project I have seen this year … |