Skip to main content

Suche

Beiträge die mit rustlang getaggt sind


 

 
Trying to fix rust std::fs::copy()
github.com/rust-lang/rust…
#rust #rustlang @rustlang

 
My iter_chain() and iter_sources() over dyn Error made it into nightly 😀
doc.rust-lang.org/nightly/std/er…

#rustlang #rust @rustlang

 

John Carmack: writing Rust code feels wholesome


HN Discussion: https://news.ycombinator.com/item?id=19126795
Posted by jimyl (karma: 195)
Post stats: Points: 81 - Comments: 22 - 2019-02-10T07:53:35Z

\#HackerNews #carmack #code #feels #john #rust #wholesome #writing
Article content:

Bild/Foto

[1] [IMG][2]John Carmack‏Verified account @ID_AA_Carmack [3]9h9 hours ago
\*  
 \* 

Iʼm still completely in the excited-newbie honeymoon phase, but writing Rust code feels very wholesome.

[4] [IMG][5]Elliott Noel‏ @SkipperEl [6]9h9 hours ago
\*  
 \* 

Replying to [7]@ID_AA_Carmack

Any thoughts on Golang?

[8] [IMG][9]John Carmack‏Verified account @ID_AA_Carmack [10]9h9 hours ago
\*  
 \* 

Replying to [11]@SkipperEl

I haven’t written anything in it, but I like all the ideas behind it. Slightly different target than Rust with garbage collection.

[12] [IMG][13]Elliott Noel‏ @SkipperEl [14]9h9 hours ago
\*  
 \* 

Replying to [15]@ID_AA_Carmack

Rigjtt, that makes complete sense. Ty!

[16] [IMG][17]Scott Wilson‏ @propersquid [18]6h6 hours ago
\*  
 \* 

Replying to [19]@SkipperEl [20]@ID_AA_Carmack

From the opinion of someone thatʼs done some work in both (More Go than Rust, but will change), Go is great for setting up web services. Unless speed is absolutely critical, Iʼd probably pick Go first for a web server. Anything that Iʼd consider for C++ would be Rust.

[21] [IMG][22]Jon the Porg-Man Davis‏ @ObliviousJD [23]7h7 hours ago
\*  
 \* 

Replying to [24]@ID_AA_Carmack

I love Rust because it reduces bugs by targeting itʼs biggest source... me.

[25] [IMG][26]James Blachly‏ @jamesblachly [27]9h9 hours ago
\*  
 \* 

Replying to [28]@ID_AA_Carmack

When both [29]@ID_AA_Carmack and [30]@bcantrill are singing something’s praises, I guess it’s time for me to take a look at [31]#rustlang

[32] [IMG][33]reallyabu‏ @reallyabu [34]8h8 hours ago
\*  
 \* 

Replying to [35]@jamesblachly [36]@ID_AA_Carmack

[37]pic.twitter.com/93xipyHa1a

[38] [IMG][39]seananteau‏ @seananteau [40]9h9 hours ago
\*  
 \* 

Replying to [41]@ID_AA_Carmack

How so? Would you recommend it over Python?

[42] [IMG][43]Jack Mott‏ @jackmott42 [44]8h8 hours ago
\*  
 \* 

Replying to [45]@seananteau [46]@ID_AA_Carmack

rust is a statically typed, compiled, high performance language with compile time memory safety gaurantees. it is so different than python they are strange to even compare.

[47] [IMG][48]seananteau‏ @seananteau [49]8h8 hours ago
\*  
 \* 

Replying to [50]@jackmott42 [51]@ID_AA_Carmack

Ah sorry, I wasn’t aware.

[52] [IMG][53]Jack Mott‏ @jackmott42 [54]8h8 hours ago
\*  
 \* 

Replying to [55]@seananteau [56]@ID_AA_Carmack

all that said i think someone who knows python could get a lot out of learning rust. it has some of the high level niceties while running orders of magnitude faster

[57] [IMG][58]Lars Hansson 🤘‏ @romabysen [59]7h7 hours ago
\*  
 \* 

Replying to [60]@jackmott42 [61]@seananteau [62]@ID_AA_Carmack

As primarily a Python dev I really like Rust and I donʼt find it all that difficult to grasp. I am especially fond of the error handling and the fact that it has proper package and dependency management. Definitely worth checking out if youʼre a Python person.

[63] [IMG][64]Amethyst Game Engine‏ @AmethystEngine [65]3h3 hours ago
\*  
 \* 

Replying to [66]@ID_AA_Carmack

The community has been discussing various gotchas for game development here: [67]https://users.rust-lang.org/t/my-gamedever-wishlist-for-rust/2859?u=erlend_sh … Once you run into some we’d love to hear about it. We are working to make gamedev one of [68]@rustlang’s key domains.

[69] [IMG][70]Très Peng‏ @treypeng [71]9h9 hours ago
\*  
 \* 

Replying to [72]@ID_AA_Carmack

well thatʼs the endorsement Iʼve been waiting for to take a look

[73] [IMG][74]Chris A Taylor‏ @MrCatid [75]7h7 hours ago
\*  
 \* 

Replying to [76]@ID_AA_Carmack

That was my morning too. Lovely language!

[77] [IMG][78]Tom Forsyth‏ @tom_forsyth [79]7h7 hours ago
\*  
 \* 

Replying to [80]@MrCatid [81]@ID_AA_Carmack

Cool cool. Let us know in 5 years whether itʼs 1% or 2% better than C.

[82] [IMG][83]Scott Richmond‏ @ScottTRichmond [84]4h4 hours ago
\*  
 \* 

Replying to [85]@tom_forsyth [86]@MrCatid [87]@ID_AA_Carmack

I assume you mean perf. I imagine in this case the choice is more about which you feel more comfortable writing good code.

[88] [IMG][89]Spooookyton The Meatman‏ @AntonHand [90]4h4 hours ago
\*  
 \* 

Replying to [91]@ScottTRichmond [92]@tom_forsyth and

WHoooosh

References

Visible links
1. https://twitter.com/ID_AA_Carmack
2. https://twitter.com/ID_AA_Carmack
3. https://twitter.com/ID_AA_Carmack/status/1094419108781789184
4. https://twitter.com/SkipperEl
5. https://twitter.com/SkipperEl
6. https://twitter.com/SkipperEl/status/1094423283670368257
7. https://twitter.com/ID_AA_Carmack
8. https://twitter.com/ID_AA_Carmack
9. https://twitter.com/ID_AA_Carmack
10. https://twitter.com/ID_AA_Carmack/status/1094427080169844736
11. https://twitter.com/SkipperEl
12. https://twitter.com/SkipperEl
13. https://twitter.com/SkipperEl
14. https://twitter.com/SkipperEl/status/1094427354536075264
15. https://twitter.com/ID_AA_Carmack
16. https://twitter.com/propersquid
17. https://twitter.com/propersquid
18. https://twitter.com/propersquid/status/1094469413040869376
19. https://twitter.com/SkipperEl
20. https://twitter.com/ID_AA_Carmack
21. https://twitter.com/ObliviousJD
22. https://twitter.com/ObliviousJD
23. https://twitter.com/ObliviousJD/status/1094456407376637952
24. https://twitter.com/ID_AA_Carmack
25. https://twitter.com/jamesblachly
26. https://twitter.com/jamesblachly
27. https://twitter.com/jamesblachly/status/1094419444347166720
28. https://twitter.com/ID_AA_Carmack
29. https://twitter.com/ID_AA_Carmack
30. https://twitter.com/bcantrill
31. https://twitter.com/hashtag/rustlang?src=hash
32. https://twitter.com/reallyabu
33. https://twitter.com/reallyabu
34. https://twitter.com/reallyabu/status/1094430639519092736
35. https://twitter.com/jamesblachly
36. https://twitter.com/ID_AA_Carmack
37. https://t.co/93xipyHa1a
38. https://twitter.com/seananteau
39. https://twitter.com/seananteau
40. https://twitter.com/seananteau/status/1094427567988396032
41. https://twitter.com/ID_AA_Carmack
42. https://twitter.com/jackmott42
43. https://twitter.com/jackmott42
44. https://twitter.com/jackmott42/status/1094431898657607680
45. https://twitter.com/seananteau
46. https://twitter.com/ID_AA_Carmack
47. https://twitter.com/seananteau
48. https://twitter.com/seananteau
49. https://twitter.com/seananteau/status/1094432075128688640
50. https://twitter.com/jackmott42
51. https://twitter.com/ID_AA_Carmack
52. https://twitter.com/jackmott42
53. https://twitter.com/jackmott42
54. https://twitter.com/jackmott42/status/1094432832414461952
55. https://twitter.com/seananteau
56. https://twitter.com/ID_AA_Carmack
57. https://twitter.com/romabysen
58. https://twitter.com/romabysen
59. https://twitter.com/romabysen/status/1094450753815465989
60. https://twitter.com/jackmott42
61. https://twitter.com/seananteau
62. https://twitter.com/ID_AA_Carmack
63. https://twitter.com/AmethystEngine
64. https://twitter.com/AmethystEngine
65. https://twitter.com/AmethystEngine/status/1094512428669386752
66. https://twitter.com/ID_AA_Carmack
67. https://t.co/AkKl2MtNaN
68. https://twitter.com/rustlang
69. https://twitter.com/treypeng
70. https://twitter.com/treypeng
71. https://twitter.com/treypeng/status/1094420040789544960
72. https://twitter.com/ID_AA_Carmack
73. https://twitter.com/MrCatid
74. https://twitter.com/MrCatid
75. https://twitter.com/MrCatid/status/1094447390373769216
76. https://twitter.com/ID_AA_Carmack
77. https://twitter.com/tom_forsyth
78. https://twitter.com/tom_forsyth
79. https://twitter.com/tom_forsyth/status/1094458115125272583
80. https://twitter.com/MrCatid
81. https://twitter.com/ID_AA_Carmack
82. https://twitter.com/ScottTRichmond
83. https://twitter.com/ScottTRichmond
84. https://twitter.com/ScottTRichmond/status/1094496429941305345
85. https://twitter.com/tom_forsyth
86. https://twitter.com/MrCatid
87. https://twitter.com/ID_AA_Carmack
88. https://twitter.com/AntonHand
89. https://twitter.com/AntonHand
90. https://twitter.com/AntonHand/status/1094499643717611521
91. https://twitter.com/ScottTRichmond
92. https://twitter.com/tom_forsyth

HackerNewsBot debug: Calculated post rank: 61 - Loop: 81 - Rank min: 60 - Author rank: 130

 
Submitted a PR to add an Iterator for rust std::error::Error source()
github.com/rust-lang/rust…
@rustlang #rustlang #rust

 
My experimental crate for rust error handling. RFC, RFimprovements
#rust #rustlang

 
Finished documentation for my rust error chaining crate crates.io/crates/chainer…
Side effect: two pull requests for mdbook. 😎

@rustlang #rust #rustlang

 
#rust #rustlang