cpu ( -- class ) (original) (raw)

cpu ( -- class )
Factor handbook » The implementation » System interface » Processor detection

Next: x86.32

Vocabulary
system

Inputs
None

Outputs

class a singleton-class

Word description
Outputs a singleton class with the name of the current CPU architecture.

Variable value
Current value in global namespace:

x86.64

Definition

USING: namespaces ;

IN: system

: cpu ( -- class ) \ cpu get-global ; foldable flushable