
Failures, asynchrony and all kinds of effects can be represented by continuations
Nguồn: https://crowdhailer.me/2026-07-15/abstracting-effects-with-continuations. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Đọc tin ở đây, luyện code, học theo lộ trình và luyện IELTS trên các sản phẩm anh em — tất cả kết nối với nhau trong hệ sinh thái 8 Sync Dev.
Cổng chính của hệ sinh thái: giới thiệu sản phẩm, blog và bảng giá trọn bộ.
Khám pháHọc theo lộ trình với video, quiz chấm tự động, certificate và mentor đang làm nghề.
Xem khóa họcLuyện thuật toán chấm tự động 7 ngôn ngữ, chạy code ngay trên trình duyệt.
Số 533 của Haskell Weekly điểm tin cộng đồng nổi bật như quyết định rời bỏ Haskell của Scarf sau 7 năm sử dụng, báo cáo trạng thái GHC từ hội thảo Haskell Implementors' Workshop 2026, đóng cửa tryhaskell.org, sự kiện Diff package áp dụng LiquidHaskell cho kiểm tra tĩnh, và thư viện PGQueuer-hs 0.0.1 mới chạy trên PostgreSQL. Phần giới thiệu cộng đồng giới thiệu server bookmark tự lưu trữ, thư viện học tự động hóa hoạt động, và công cụ chạy thử LeetCode cục bộ.
Đọc bài này để cập nhật những thay đổi quan trọng trong sinh thái Haskell—từ việc chuyển đổi công nghệ của một nhà phát triển lâu năm đến những tiến bộ mới trong công cụ và thư viện, giúp bạn nắm rõ xu hướng và cách ứng dụng trong dự án của mình.
AI cho doanh nghiệp B2B: chat đa kênh AI phản hồi, gom lead tiềm năng, phân loại khách hàng.
Sắp ra mắtA Gleam core team member resolved a three-year-old GitHub issue by refactoring the language's pretty printer to use arena allocation via the typed_arena crate. By replacing heap-allocated Box<T> with arena-backed references, the formatter became 24% faster and reduced peak memory usage by ~10% (8.4MB to 7.6MB). The post explains the Document recursive data structure, how arenas work in Rust, the lifetime changes required, and the caching benefits of allocating repeated documents only once.
Haskell Weekly Issue 532 covers a range of Haskell community content including tutorials on Applicatives, data-directed programming from SICP, typed expression EDSLs, and mechanized type inference for record concatenation. Also featured: a talk on optimizing GHC build times, the ZuriHac 2026 video playlist, a vscode-haskell 2.8.2 release, a Haskell-powered CAD playground running in WebAssembly, and a job posting for a senior Haskell developer.
Haskell Weekly Issue 531 curates the latest from the Haskell community. Featured articles include a deep dive into actegories and optics by Bartosz Milewski, a dev log on implementing new GHC syntax, a podcast episode with top GHC contributor Sylvain Henry, a technique for type-checked non-empty strings with TemplateHaskell yielding ~10% build-time improvements, a guide on emulating inline assembly in GHC for low-level CPU instruction access, and an overview of Haskell security tooling. Job listings include roles at LivTours and Standard Chartered. Notable releases include Hyperbole 0.7 with multipart file uploads and reflex-vty 1.0. Community highlights cover a BitNet 1.58 LLM experiment in MicroHaskell and GHC proposals for top-level shared IO computations.
Bài viết áp dụng nguyên tắc "parse, don't validate" của Alexis King vào TypeScript bằng cách sử dụng branded types và discriminated unions. Thay vì chỉ xác thực dữ liệu rồi loại bỏ bằng chứng, parsers tích hợp tính đúng đắn vào hệ thống kiểu, giúp loại bỏ trạng thái bất hợp pháp (UnvalidatedUser vs ValidUser). Bài viết cũng đề cập đến những khó khăn của TypeScript như structural typing, ép kiểu 'as' trong parser, thiếu match expression, và cách thư viện Zod tự động hóa nhưng vẫn giữ nguyên nguyên tắc này.
Lập trình viên nên đọc bài này để hiểu cách chuyển đổi từ cách kiểm tra dữ liệu bằng validation (giảm hiệu suất và làm mờ lỗi) sang cách sử dụng parse thông qua kiểu dữ liệu (giúp phát hiện lỗi ngay từ giai đoạn biên dịch và tăng tính bảo mật).