Coric's Quest - 又一个Rust实现的游戏
一个成型的幻想类像素2D游戏,很好玩。基于 Miniquad 实现。

https://tungtn.itch.io/corics-quest
教你使用Rust进行TTY编程
学会了就可以写一个自己的终端了。
https://developerlife.com/2024/08/20/tty-linux-async-rust/
rust_xlsxwriter - 操作xls
现在已经比较完善了。
https://crates.io/crates/rust_xlsxwriter
自己实现一个SQLite,第二部分
这篇文章介绍了如何构建 SQLite 数据库。它讨论了 SQLite 数据库的文件格式,以及如何扫描 SQLite 数据库中的大型表。本文的一些重要内容是 SQLite 数据库使用 B 树来存储数据,以及 SQLite 数据库使用叶页和内部页来存储数据。
https://blog.sylver.dev/build-your-own-sqlite-part-2-scanning-large-tables
plotlars - Rust画图表的救星
plotters 强大,但是太难用,现在 plotlrs 来了,高度集成polars数据处理输出,提供类Py的画图体验。
use plotlars::{
    ScatterPlot,
    Plot,
    Text,
};
use polars::prelude::*;
fn main() {
    let dataset = LazyCsvReader::new("data/penguins.csv")
        .finish().unwrap()
        .select([
            col("species").cast(
                DataType::Categorical(
                    None,
                    CategoricalOrdering::default()
                )
            ),
            col("flipper_length_mm").cast(DataType::Int16),
            col("body_mass_g").cast(DataType::Int16),
        ])
        .collect().unwrap();
    ScatterPlot::builder()
        .data(&dataset)
        .x("body_mass_g")
        .y("flipper_length_mm")
        .group("species")
        .size(10)
        .opacity(0.5)
        .plot_title(Text::from("Penguin Flipper Length vs Body Mass"))
        .x_title(Text::from("Body Mass (g)"))
        .y_title(Text::from("Flipper Length (mm)"))
        .legend_title(Text::from("Species"))
        .build()
        .plot();
}
https://github.com/alceal/plotlars
--
From 日报小组 Mike
社区学习交流平台订阅:
	    
	    
		1
	    
	    
	    共 1 条评论, 1 页
	
	
    
评论区
写评论这期的TTY教程和绘制图表感觉就像是为我准备的一样,最近工作正需要处理相关的问题,太感谢了