This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define IF_NAMESIZE 16 | |
#define IFNAMSIZ IF_NAMESIZE | |
#define MAXPATHLEN 1024 | |
#define PF_TABLE_NAME_SIZE 32 | |
#define TH_SYN 0x02 | |
#define TH_ACK 0x10 | |
#include <sys/cdefs.h> | |
__FBSDID("$FreeBSD$"); |
- Like C, but with garbage collection, memory safety, and special mechanisms for concurrency
- Pointers but no pointer arithmetic
- No header files
- Simple, clean syntax
- Very fast native compilation (about as quick to edit code and restart as a dynamic language)
- Easy-to-distribute executables