#Rust programming language
Explore tagged Tumblr posts
fracturedgodhead · 6 days ago
Text
Happy New Year!! I missed a day again #24
Hope you all had a safe and fun new years/eve. I know I did. First one since turning 21, so also my first* time being drunk. It's pretty fun I think.
Like it says in the title, I missed a day again. I want to make not of it, but I don't really think it's too big of a deal. I was having fun. It's okay to have a day off y'know.
Anyways, into the meat.
Rust, and specifically the Rust toolchain is the best workflow I've ever experienced. Better than C++ by lightyears, and even better than Java. I haven't been entirely problem free, but every problem was clear and I could fix it in about 10 minutes or less. I don't fully know the language and it's features, so I'm relying a lot on the tutorial I'm following for correct syntax and whatnot, but it's intuitive enough that I can read it with my level of programming experience (not expert, not novice, idk exactly).
I need to do the usual tutorial pathway for any new language eventually, but for now, getting the OpenGL "hello, triangle" program written is technically done. In about 6 hours of programming across 2 days. Maybe less.
It took easily 20-30 hours across 2 weeks for me to get to this same point in the Vulkan with C++ "Hello, triangle" tutorial. And that's not counting my first attempt where I learned what I needed to know about the C++ toolchain, and how to set up my workspace, and all the little tiny details that break everything when they're wrong. That first attempt was probably over 100 hours over the course of a month.
AND I DIDN'T EVEN GET THE STUPID THING TO WORK.
If you want to make a game or application, and you are struggling to get your programs to compile or work or whatever bs, please look into Rust. It's beautiful.
Anyway, that said, this week is supposed to be the one where I make a multimedia project. I think I'll try and draw something and make a little guy in a room that can jump around once I get through the rest of the tutorial. I hope it covers loading textures and in-depth toolchain configuration and whatnot.
I don't think I can confidently animate anything, at least not in Krita. Who or whatever this character is is probably just gonna be a ball that rolls around or something.
Trying to handle collisions in a way that isn't incredibly hackey is an interesting problem I think. I think the technical term for it would be a "collision system", but that's gay, and I am gay, so I will be calling it that. The collision system will take an array of collision objects specified in some external file and parse them, then using some algorithm (probably just normal testing on some simple polygons, but possibly a path-traced collision detection approach could be feasible), calculate collisions on them.
That's a problem for either tomorrow or Friday though. For right now, I am incredibly exhausted, so I will be going to bed soon.
I'm so excited about Rust and OpenGL. I can't believe how much I've been hampering myself, and all because of a misinterpretation of my own goals.
1 note · View note
maypop-the-dragon · 2 months ago
Text
I accidentally didn’t finish updating my site in 3 days and instead I still haven’t updated it and it has taken so long that I’m returning to another project: JerryMusic.
JerryMusic will be a program for organizing, updating, formatting, transferring, and playing your local-first music collection. I’m making it because I want to be able to plug a USB drive into my car radio to listen to music without needing to do a ton of work to format it.
So, uh, yeah, maybe I’ll post development updates, but for now, it’s in a very early stage, as in “cargo init” kind of early stage.
Planned features, but just the really cool ones:
download music from the internet and inject or remove metadata as you prefer
format your music collection for specific contexts, such as your car radio
properly loop and layer dynamic soundtracks such as video game music (this will be done on-the-fly by JerryMusic itself, but you will be able to export single extended versions if needed)
It’ll probably go on Codeberg or something.
Also, it’s a CLI program. For nerds.
0 notes
agiledock · 7 months ago
Text
Efficient Website Development with Rust Programming
Tumblr media
Learn how rust programming language enhances website development, ensuring efficiency and security with insights into the rocket framework's contributions. Discover how Rust and the rocket framework collaborate to create secure and scalable applications. Check out: https://bit.ly/3Rk5ZjK
0 notes
agiledocktech · 7 months ago
Text
Rust for Web Wizards: Crafting Next-Level Websites and Apps
Tumblr media
Journey into the world of Rust programming language and witness its transformative impact on web development. Uncover the secrets of building dynamic websites and applications using Rust's unparalleled performance and reliability.
0 notes
eggman-is-fat-mkay · 1 year ago
Text
don't forget the rust crate segfaulting your program instead of returning an error if it tries to parse bad data because the underlying C library has a bug in it. someone wrote an issue on the rust crate's github but the dev was just like “the C code is well outside my jurisdiction. WONTFIX” with no link to a corresponding issue on the C side because libsnorble2 has not been developed in public for the better part of 5 years
there's also a separate rust crate caled rusquimble which is a pure Rust implementation of squimblization, but it advertises big about its flexibilty, which in practice means its API is about as user friendly as v1.0 hyper. it contains approximately 7000 structs, all of which are user facing, and a minimal hello world example is 50 lines of boilerplate in which you open all of the relevant files and asynchronous TCP connections yourself and then wrap them in 7 different structs from the rusquimble crate along with some enum variants with horrifyingly long names to tell them what to do, all of which have constructors which can fail, three of which are asynchronous for absolutely no reason, and one of which returns an error type that doesn't implement Display meaning that not even the anyhow crate can save you now.
Also it only supports async-std as the asynchronous runtime even though literally every other crate in existence has standardized on tokio.
don't forget the rusquimble crate having no documentation apart from that single 50 line hello world example and whatever else rustdoc was able to autogenerate, minus of course the handful of modules that the developers put #[doc(hidden)] on (which is about 80% of the API)
every software is like. your mission-critical app requires you to use the scrimble protocol to squeeb some snorble files for sprongle expressions. do you use:
libsnorble-2-dev, a C library that the author only distributes as source code and therefore must be compiled from source using CMake
Squeeb.js, which sort of has most of the features you want, but requires about a gigabyte of Node dependencies and has only been in development for eight months and has 4.7k open issues on Github
Squeeh.js, a typosquatting trojan that uses your GPU to mine crypto if you install it by mistake
Sprongloxide, a Rust crate beloved by its fanatical userbase, which has been in version 0.9.* for about four years, and is actually just a thin wrapper for libsnorble-2-dev
GNU Scrimble, a GPLv3-licensed command-line tool maintained by the Free Software Foundation, which has over a hundred different flags, and also comes with an integrated Lisp interpreter for scripting, and also a TUI-based Pong implementation as an "easter egg", and also supports CSV, XML, JSON, PDF, XLSX, and even HTML files, but does not actually come with support for squeebing snorble files for ideological reasons. it does have a boomeresque drawing of a grinning meerkat as its logo, though
Microsoft Scrimble Framework Core, a .NET library that has all the features you need and more, but costs $399 anually and comes with a proprietary licensing agreement that grants Microsoft the right to tattoo advertisements on the inside of your eyelids
snorblite, a full-featured Perl module which is entirely developed and maintained by a single guy who is completely insane and constantly makes blog posts about how much he hates the ATF and the "woke mind-virus", but everyone uses it because it has all the features you need and is distributed under the MIT license
Google Squeebular (deprecated since 2017)
5K notes · View notes
eel-in-souvenir · 7 months ago
Text
Tumblr media
I wish I could work with gender non conforming programming languages but alas I have to work with javascript
6 notes · View notes
zipp-os-official · 9 months ago
Text
Starting Production🎉🥂
ZippOS is an alternate operating system for stand alone “spacial computing” devices. The goal of this project is to provide end users, who at their own discression, void their warranties to replace pre-packaged software bundled with their hardware. As the lead developer of ZippOS, and as an end user of a “spacial computer”, I am displeased with the current operating software, and the decisions of parent companies that distribute these products are inheriently unstable, brown-nosing share holders and consumers, and completely unaligned with the end users. As these devices are marketed as computers, I want to provide software for said computers as a choice for the end-users who feel the same as I do.
ZippOS will be a lighter(get it?), faster booting operating system built from scratch with Rust-Lang and some ARM/RISC-V assembly code to replace both the BIOS (ZIOS) and the operating system. The operating system’s goal is to have the same user functionality and multimedia multi-instancing in a mixed reality setting, citing BeOS/HaikuOS as inspiration. This operating system will have security and graceful degradation as the main focus for user safety because the main enemy for ZippOS is the companies who made the stock software it replaces on the end-user’s spacial computer. Users can also enjoy various stimulating options for navigating the software (i.e. “rolodex” style hub menus, table-top program/application storefront, “grabbing” and “throwing” programs/screens to be cast/mirrored to and from realspace and cyberspace, etc). ZippOS is a project software operating system under development, and currently has no plans to publicly publish to the open net, nor are there any current plans to open-source the software.
8 notes · View notes
mossfueldgoblin · 1 year ago
Text
Rust my rustloved
11 notes · View notes
agapi-kalyptei · 9 months ago
Text
Tumblr Communities (beta) are here
If you want to try them out, I can apparently, somehow, invite you to join the Rust programming community that they let me create. (I'm not a hardcore enough fan of anything else to have asked for, but maybe in the future we'll make an Estonian and/or Estonian language learning community here.)
It's too early to tell how it will be in practice, but it should be handy to follow a topic (instead of a loose diaspora of tags) without following everyone who makes 5% of those posts about that topic.
Currently there is no public invite code or link that I can see, so reply to this post, or message me and I'll send you an invite.
4 notes · View notes
haika-98 · 9 months ago
Photo
Tumblr media
Phone Wallpaper - Lex Ask Me Shirt
A phone wallpaper I made for my boyfriend when we started dating back in 2018 before he was a border collie.
Posted using PostyBirb
2 notes · View notes
ivytime-gay · 11 months ago
Text
using diesel with rust is like
Tumblr media
2 notes · View notes
vizthedatum · 1 year ago
Text
I'm gearing up for Advent of Code 2023 (while trying to be realistic about time constraints with self-care, work, and relationships)!
Who wants to do it with me? I'll mostly be coding in R (in base, tidyverse, and other random paradigms/package bundles), Python, Excel, and (maybe) Rust.
Let's do this work-life-programming balance. (I am a very rusty programmer since I mostly do statistical work - I have the aptitude for it but am very inefficient with optimized solutions.) I'll post my solutions here: https://github.com/pritikadasgupta/adventofcode
3 notes · View notes
miquerinus · 1 year ago
Text
Tumblr media
Bjarne Stroustrup’s Plan for Bringing Safety to C++
At the CppCon C++ conference, the C++ creator identified the specific kinds of safety measures sorely needed in the programming language.
" ... Elsewhere in the talk Stroustrup also points out that “A lot of the so-called ‘safe’ languages outsource all the low-level stuff to C or C++,” temporarily escaping the original language to access hardware resources or even the operating system (which is often written in C) — or even “trusted code” which may actually be very old, tucked away in an external library… or written in an entirely different programming language." - Bjarne Stroustrup.
3 notes · View notes
agiledock · 7 months ago
Text
Mastering Rust Web Development With Agiledock
Discover the unparalleled performance and security of Rust programming language in website development. This resource delves into the intricacies of web development with Rust, leveraging the cutting-edge Rocket framework. Whether you're a seasoned developer or just starting out, unleash the full potential of Rust for building next-gen web applications
0 notes
d0nutzgg · 2 years ago
Text
Tumblr media
I got most of the base of the CPU worked out on my NES emulator using references to 6502 Assembly and Rust binary arithmetic to implement the 6502 Op Codes. It was hard because originally I didn't update the flags and define the op code functions in the right place because the documentation I was following basically didn't provide the info on where to put it >_> But I wrote my tests at the bottom and in the main.rs file I defined a function that if everything passed on the CPU it would print out "Hello Rusty NES" to show me it works! Today I am going to work a little on RAM management but @emoryvalentine14 and I are going to kill some Roblox zombies soon so it will be after while :D It's going to be a while before the NES emulator is going to be live but I plan to host it on itch.io for 2.99$ along with some NES games I am personally deving in pure 6502 Assembly :| because I am a glutton for punishment.
Also the Discord is now at 70+ members and we are still a very positive community! Loving it. If you want to join shoot me a comment or a message!
Alright folks, I am going to sign off! Will update next update on the NES.
7 notes · View notes
janhetjoch · 3 months ago
Text
If you need a quick little script: learn python.
If you wanna understand how your computer works: learn C.
Bit more nuance below the cut
People often say to start with Python or another high level language, but I think that starting with C is actually really useful. C has a relatively direct translation to machine code, meaning that if you can competently read C code (which you learn by writing C) you will understand what your computer is actually doing under the hood, which can help you even if you're writing in a higher level language later. And yes, it's a bit more complicated, but it's so valuable, and going from a low level language to a high level one is so much easier than the other way around.
The reason I recommend C over Rust, which is also a low level language and has the big advantage of being memory safe, is that with Rust's memory safety comes an abstraction layer that means it doesn't help you understand how your PC works. Your computer allocates and frees memory, regardless of what language you write your program in; if you're coding as a learning exercise rather than making a safety critical product, it's better to use malloc() and free() IMO.
please learn how to code
like, if you're bored today, and not doing anything,
learn a little bit of coding please
34K notes · View notes