Ayou

Good Good Study, Day Day Up!


  • Home

  • Demo

  • Archives

  • Tags

  • Categories

  • About

设计模式之原型模式(TypeScript & Rust)

Posted on 2024-03-19 | In rust
原型模式(Prototype Pattern)是一种创建型设计模式,它通过复制现有对象来创建新对象,而不是使用常规的实例化过程。当对象创建成本高或创建过程很复杂时,通过复制一个现有的对象,然后基于复制出来的对象进行修改是一个非常好的方法。我们的学渣小明是使用原型模式的高手。期末考试了,学渣小明什么都 ...
Read more »

设计模式之各种工厂模式(TypeScript & Rust)

Posted on 2024-03-13 | In rust
设计模式中带“工厂”两个字的有:简单工厂模式、工厂方法模式、抽象工厂模式。下面用 TypeScript 和 Rust 分别演示一下: In design patterns, there are three patterns with the word “Factory” in their names ...
Read more »

设计模式之单例模式(TypeScript & Rust)

Posted on 2024-03-08 | In rust
单例模式在软件开发中有很多应用场景,比如数据库连接池、全局唯一的对话框、全局日志记录等。 The singleton pattern has many applications in software development, such as a database connection pool, ...
Read more »

使用 Web Worker + SharedArrayBuffer 并行实现视频实时滤镜效果

Posted on 2024-03-01 | In javascript
使用 Web Worker + SharedArrayBuffer 并行实现视频实时滤镜效果
Read more »

Rust WebAssembly 实现视频实时滤镜效果

Posted on 2024-02-27 | In javascript
使用 Rust WebAssembly 来实现视频实时滤镜效果
Read more »

译:揭秘神奇的 Rust Axum 风格的函数实现(Rusts Axum style magic function params example)

Posted on 2024-01-29 | In rust
揭秘神奇的 Rust Axum 风格的函数实现
Read more »

在 Node.js 中使用 HTTP Agent 实现 keep-alive (To request with keep-alive using HTTP agent in Node.js)

Posted on 2024-01-22 | In nodejs
本文介绍在 Node.js 中使用 HTTP Agent 实现 keep-alive 的方式.
Read more »

实战 - Node.js 服务实现灰度发布(Grayscale Release for Node.js Server in Practice)

Posted on 2024-01-16 | In nodejs
本文介绍了实现了灰度发布的几个方案,并针对一个进行详细的讨论(This article introduce some solutions of implementing grayscale release and discuss one in detail)
Read more »

Chrome 插件开发实战:实现一个对照翻译插件(二)翻译部分

Posted on 2023-11-16 | In javascript
实现一个对照翻译插件
Read more »

Chrome 插件开发实战:实现一个对照翻译插件(一)前端部分

Posted on 2023-11-05 | In javascript
实现一个对照翻译插件
Read more »
1…456…21

Ayou

一名转行的菜鸡程序员

201 posts
20 categories
85 tags
© 2025 Ayou
Powered by Hexo
|
Theme — NexT.Mist v5.1.4