DevChoco

실전 코드와 디버깅 맥락을 남기는 개발 지식 아카이브

Tech News
조회 92분 읽기

Swift is a more convenient Rust

이 글에서는 Swift가 Rust보다 더 편리한 프로그래밍 언어라는 주장을 다루고 있습니다. Swift의 문법과 기능이 Rust에 비해 개발자에게 더 친숙하고 사용하기 쉬운 점을 강조합니다.

#swift#rust#프로그래밍#개발자#언어비교

의견

댓글/토론에서 나온 의견을 참고용으로 정리했습니다. (사실로 단정하지 말고 맥락 확인 권장)

  • Hacker News · @rickstanley: Toady I used GLM 4.7 to port a C++ project of mine to Rust, so I could read and toy with it, to get into the language: https://codeberg.org/RickStanley/agatetepe-rs . Really interesting results, not sure how well it is written but works. I was quite found of Rust syntax; it certainly is not as conv…
  • Hacker News · @JackYoustra: Broadly agree but, as is most things, the devil is in the details! - Xcode. A really rough ide that has a hard time at scale, choking on package refreshes, many targets, and more. It has a special entitlement so you can't even binary patch it if you want to fix it! - Build systems. Cargo is much easier to work …
  • Hacker News · @worik: I am unconvinced I have used Swift (stopped about two years ago) and use Rust extensively these days. People commenting here have mentioned the dreadful Xcode. But if you want to build systems on Apple, without investing a lot in setup, you are stuck with Xcode. To be clear it's failures as an editor or build sys…
  • Hacker News · @tialaramex: In one sense the places where the Rust is wrong don't trouble me because I already know Rust well, but in the end they do trouble me because it seems reasonable to assume the Swift is equally wrong but I don't know where and how. For example "In fact, Swift treats enums as more than just types and lets …
  • Hacker News · @rednafi: Swift is a neat language, but it’s a hard sell for server-side software. The ecosystem is tiny, and there’s nothing you gain from using it instead of Go or Rust for infra / distsys. Also, it works okay at best with VS Code, and you couldn’t pay me to use Xcode. Kotlin tried doing similar things to gain adoption o…
  • Hacker News · @frizlab: I’m sorry but reading your comment, you have not understood much about Swift (and GCD). In particular “"DispatchQueus" (?IIRC?) are a thin wrap of fork, and do nothing but add complications”, in addition to having typo, is as wrong as it can get. > if you want to build systems on Apple, without investing …

같이 읽으면 좋은 글

같은 주제이거나 태그가 겹치는 글을 연결해 탐색 흐름을 강화했습니다.

Tech News 전체 보기

이전 글

Show HN: I trained a 9M speech model to fix my Mandarin tones

다음 글

타이틀 메타게임에서 승리하는 방법

댓글

불러오는 중…