[-] snaggen@programming.dev 10 points 8 months ago

No, the Community Edition still exists and is available from github. They doesnt want people to use that though, since they want people to use the "free" Ultimate Edition with the colorful subscription link in the face of the user.

[-] snaggen@programming.dev 9 points 2 years ago

On an unrelated note, don't forget to sanitize your input.

[-] snaggen@programming.dev 9 points 2 years ago

There are lots of guides, tutorials and documentation. The responsibility is no longer on someone else, it is up to the individuals to actually read any of them. And to be honest, if you are unable to use them to learn rust, maybe your c++ skills isn't that impressive either.

https://bpbonline.com/products/rust-for-c-programmers?variant=42560853639368 is one if found using a tool called search engine...

[-] snaggen@programming.dev 9 points 2 years ago

fs::exists() was a nice little improvement that I didn't know about until I read this announcement.

[-] snaggen@programming.dev 9 points 2 years ago

Exactly. I appreciate the "What’s Gleam" section, but I would also like to see a "Why Gleam?" section.

137
submitted 2 years ago* (last edited 2 years ago) by snaggen@programming.dev to c/rust@programming.dev

TIL: Sweden had February 30 in 1712 https://en.wikipedia.org/wiki/1712_in_Sweden , so I decided to see how chrono handled that.

use chrono::TimeZone;
use chrono_tz::Europe::Stockholm;

fn main() {
    let feb30 =  Stockholm.ymd(1712,2,30);
    println!("Date: {:?}", feb30);
}
 target/debug/feb30
thread 'main' panicked at /home/snaggen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.34/src/offset/mod.rs:252:40:
No such local time
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Result (as expected): Not well! 😄

I also tested Java with

ZonedDateTime feb30 = ZonedDateTime.of(1712,2,30, 0,0,0,0, ZoneId.of("Europe/Stockholm"));

with simmilar result

java.time.DateTimeException: Invalid date 'FEBRUARY 30'

So, lets take a minute of silence for all the programmers of history related software, may the spagetti monster have mercy on their souls.

20

Great to see FIPS support for Rustls, will probably help for government related projects and such.

25
[-] snaggen@programming.dev 9 points 2 years ago

This is very interesting. I hope someone write an indepth review regarding features and performance, compared to the competition. I wonder why they went with openssl instead of rustls, it is not like OpenSSL have the best security reputation.

26

Always interesting to hear experiences from larger projects. It addresses the myth about Rust slowing down development (TL;DR: it doesn't), and a bit about async and scientific rust.

28

I found this page, and thought it might be worth sharing. It helped me find AreWe* pages I didn't know existed, like https://areweideyet.com/ to get an indication about the state of IDEs for rust.

27
Asynchronous clean-up (without.boats)
10
5
12
submitted 2 years ago* (last edited 2 years ago) by snaggen@programming.dev to c/rust@programming.dev
33
14
21
[-] snaggen@programming.dev 10 points 2 years ago* (last edited 2 years ago)

But isn't it kind of obvious that if you are able to do 180k times improvement, then the baseline is probably not very impressive to begin with. Still, that doesn't take away that the optimizations were impressive, and that it was interesting to read about it.

[-] snaggen@programming.dev 9 points 2 years ago

The reason might be, that you must think a bit different from C++ so it might be a little bit tricky to do the switch. Thouigh, if you know C++ the ownership and stuff should be a bit easier to understand since you probably can figure out what is going on. The reason I learned Rust in the first place was because I had to use C libraries, and I knew rust had good support for that. But, unfortunately I cannot assist you with alternatives to rust, since I stopped looking after I learned rust. 😄

[-] snaggen@programming.dev 9 points 3 years ago

When you compare "idea to deployment" speed, a dynamic language will always win. However, much of this win is due to a dynamic language will let you deploy with a lot of bugs. So, you will then have to spend lot of time fixing production issues. Rust will force you to fix most of these issues before you can deploy, hence it feels slower in this aspect. I previously worked for 10 years with a huge perl code base, and I trade the deployment speed for stability in production any time.

[-] snaggen@programming.dev 10 points 3 years ago* (last edited 3 years ago)
[-] snaggen@programming.dev 9 points 3 years ago

I do not block ads. I however use Privacy Badger to block tracking cookies, which means that I don't see ads. I will see all ads that are not tracking me, which seems to be none. Is protecting my privacy also piracy?

[-] snaggen@programming.dev 9 points 3 years ago

It is possible to have an active discussion in a civil tone. What they promote is conflict, that is not the same as activity.

view more: ‹ prev next ›

snaggen

0 post score
0 comment score
joined 3 years ago