Memory safety for web fonts
developer.chrome.com
Memory safety for web fonts
1–10 of 230 posts
Re: Memory safety for web fonts
#2Re: Memory safety for web fonts
#3I get it, but switching to Rust places the codebase on an Island I can't easily get to. I am already switching between C++, Swift, Kotlin, and Python on an almost daily basis.
Re: Memory safety for web fonts
#4I get it, but switching to Rust places the codebase on an Island I can't easily get to. I am already switching between C++, Swift, Kotlin, and Python on an almost daily basis.
Re: Memory safety for web fonts
#5Re: Memory safety for web fonts
#6I get it, but switching to Rust places the codebase on an Island I can't easily get to. I am already switching between C++, Swift, Kotlin, and Python on an almost daily basis.
just get the AI to understand it for you /s
Re: Memory safety for web fonts
#7I get it, but switching to Rust places the codebase on an Island I can't easily get to. I am already switching between C++, Swift, Kotlin, and Python on an almost daily basis.
It might help if there was some way to play around with the APIs without having to wait so long for it to build. But as far as i know that's not currently possible.
Re: Memory safety for web fonts
#8I like this way of measuring extra work. Is this standard at Google?
Re: Memory safety for web fonts
#9I get it, but switching to Rust places the codebase on an Island I can't easily get to. I am already switching between C++, Swift, Kotlin, and Python on an almost daily basis.
edit: I'm actually not seeing the C FFI, looking at the library. It must be there somewhere, because it's being used from a C++ codebase. Can somebody point to the extern C use? I'm finding this inside that `fontations` repository:
> rg 'extern "'
fontations/fauntlet/src/font/freetype.rs
161:extern "C" fn ft_move_to(to: *const FT_Vector, user: *mut c_void) -> c_int {
168:extern "C" fn ft_line_to(to: *const FT_Vector, user: *mut c_void) -> c_int {
175:extern "C" fn ft_conic_to(
187:extern "C" fn ft_cubic_to(
>Re: Memory safety for web fonts
#10Earlier quoted context omitted.
just get the AI to understand it for you /s
It is not a matter of understanding source code. It is matter of bridging, building, and linking another language with yet another binary layout and interface.