Viewing profile — louai
louai
HN member- Joined
- Mon, Feb 13, 2017, 3:26 PM UTC
- HN karma
- 31
- Public activity
- 10 items
- HN profile
- View on Hacker News ↗
About louai
No profile information was provided.
Recent public activity
-
comment
Comment #38259199
ChatGPT 4 > Use reservoir sampling to get 100 random lines from a dictionary that doesn’t fit into memory. Give me an implementation in Python. > Reservoir sampling is a great choi…
-
comment
Comment #28849661
With Lisp-2 designs as discussed in the article this is not an issue, as variables and functions are in different namespaces: CL-USER> (defun foo (list) (list list)) FOO CL-USER> (…
-
comment
Comment #27300590
Macro expansion is done in the host environment, not the target environment. You can compile the macro definition to a function taking a form and an environment. This would be some…
-
comment
Comment #27288939
One correction to my post above - Corman Lisp is a Free implementation that does have the ability to produce DLLs, but it is limited to Windows: https://github.com/sharplispers/cor…
-
comment
Comment #27288897
Common Lisp actually doesn't specify a mechanism for this. There are implementations that can compile to e.g. DLL: http://www.lispworks.com/documentation/lw71/DV/html/delivery... h…
-
comment
Comment #26750714
A characteristic of intrusive data structures is generally good cache friendliness. In this context "intrusive" means that the data structure is embedded with the data that's being…
-
comment
Comment #26736792
Note that it says less than one character . A character in UTF-8 can be composed of multiple bytes. The encoding scheme is laid out in the linked email. Based on the high bits it's…
-
comment
Comment #24876040
The Itanium C++ ABI mentions something similar > A two-phase exception-handling model is not strictly necessary to implement C++ language semantics, but it does provide some benefi…
-
comment
Comment #24437186
When I was at Qt I spent a decent amount of time porting the native rendering engine from Qt4 to Qt5. It should be available and work relatively well. I have retired from the Qt pr…
-
comment
Comment #24072449
This is exactly how Arabic works today. It's a huge impediment, not a benefit.