LWN.net Logo

Rust

Rust

Posted Apr 7, 2013 18:11 UTC (Sun) by mathstuf (subscriber, #69389)
In reply to: Rust by hummassa
Parent article: Mozilla and Samsung building a new browser engine

GCC does have a pure attribute, but it's not verified that you're using it properly and no one uses it anyways…


(Log in to post comments)

Rust

Posted Apr 8, 2013 8:03 UTC (Mon) by nix (subscriber, #2304) [Link]

It does get used for functions often used in very tight inner loops. Just looking at glibc, strcmp() is declared pure, for example, as are many related functions.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds