百科.dev
全部条目趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

clay

> 编程语言
开源

C中的高性能UI布局库.

17.7K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

C中的高性能UI布局库.

Clay,一个UI布局库 Clay(简称C布局)是一个高性能的2D UI布局库. 主要特性 - 微秒布局性能 - Flex-box 类似布局模型,用于复杂,应答的布局,包括文本包装,滚动容器和宽相比缩放 - 过渡 API 方便布局动画 - 单 4.8k LOC Cadil.h 文件,零依赖性(包括没有标准库链接) - WASMZ支持:用克编译为15kb未压缩的. WASM文件,用于浏览器 - 静态竞技场基于内存的使用,没有maloc / 免费,并且总内存管理率较低(例如8192布局元素的3.5mb). - 说吧 类似回放的巢式声明语法 - Render 不可知论:输出一个可轻松地在任意3D引擎中复合的渲染原始的排序列表,甚至编译为HTML(提供了实例) 看看粘土网站 以一个粘土的例子编译为..

核心特点

  • •Microsecond layout performance
  • •Flex-box like layout model for complex, responsive layouts including text wrapping, scrolling containers and aspect ratio scaling
  • •Transition API for easy layout animations
  • •Single 4.8k LOC clay.h file with zero dependencies (including no standard library linking)
  • •Wasm support: compile with clang to a 15kb uncompressed .wasm file for use in the browser
  • •Static arena based memory use with no malloc / free, and low total memory overhead (e.g. ~3.5mb for 8192 layout elements).
  • •React-like nested declarative syntax
  • •Renderer agnostic: outputs a sorted list of rendering primitives that can be easily composited in any 3D engine, and even compiled to HTML (examples provided)
  • •High Level Documentation
  • •Building UI Hierarchies

> 标签

Clayoutui

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
百科.dev

开发者百科,帮助你快速发现语言、框架、数据库、DevOps 与云原生等优质开发者工具。

快捷入口

  • 首页
  • 全部条目
  • 趋势榜
  • 开源项目

关于我们

  • 关于我们
  • 社区公约
  • 技术资讯

参与我们

发现好用的开发者工具?欢迎提交分享。

提交条目
© 2026 开发者百科 baike.dev数据每日更新 · 发现优质开发者工具