![]() It appears that porting dmc to linux just isn't a priority at this time for Walter (can't imagine why D workload have anything to do with it? ). >If I recall correctly, this has been discussed before. If Walter ported Digital Mars C++ to several platform, yeah! lots of people will kick gcc away :) What about Mac OS? Symantec C++ was available on Mac OS in the past. The compiler's got to be the fastest one out there. Nonetheless, it would be great to see dmc on Linux, if it could ever happen. Porting to Linux has been the way to go for several compilers these days OpenWatcom is already working to this end. If I recall correctly, this has been discussed before. > asked this before but could dmc be ported to linux? > and executable are all in different formats. > don't know how hard it would be for him to port it because the object, > It would be amazing! maybe it could even compile the linux kernel! But I > I know Walter is releasing D on linux, but I wish he would release dmc on > ok but on another note, the reason I like both k and dmc is they are both very fast, compact, and powerful. > Friday night and all my friends are busy my life sucks! Now just for fun, try writing this program in C++ or Java or C or any language of your choice and tell me how long it takes :) remember it took me about 30 seconds for this one! THIS is how you invoke the k interpreter on your file! kinda like python (remember no compiling is a plus!) ![]() \t +/!9000000 times how long it takes k to sum the vector of ints from 0 to 8999999. ![]() about 187 ms on my Dual PIII (each CPU is 933Mhz) \t +/!5000000 times how long it takes k to sum the vector of ints from 0 to 4999999. +/v%#v the sum (+/) of the vector elements divided (%) by the V:!20 creates a vector of ints from 0 to 19 and assigns it to v Trouble) (took me about 30 seconds to write this program) There is also a very good folder with random k scripts that showcase the power of k.Īnd here is a small program in k (just these five lines let me know if you have It is clearly NOT meant as a replacement for C or C++, but after using it for a while, you may change your mind. It is quite long but you will really get a good sense of what the language is trying to accomplish. I hope this link is a bit better: document/ kref.pdf k can also load up c functions and vice-versa! you can extend the language any which way you want. there are few libraries, the language can be a bit hard to learn for noobs, and not that many people use it, however, those that use it as am embedded analytical engine find none better. k.exe and k20.dll (on win32) which total 182KB - there is nothing else (unless you install the database which is 50KB and can handle about 1000000 inserts per second). too much to list! and best of all k is basically 2 files. k has a built in webserver, gui, charting engine, spreadsheet engine, etc etc. int, float, string, symbol (q the next generation of the language has a few more types). Coming from the C++ world one would think this is a bad thing, but there are only 4 major types. If you are familiar with python, k has similar data structures: lists, dictionaries, and everything is loosely typed. K is a derivative of APL which is an interpreted language. > I was hoping Walter and Digital Mars People would be interested in it because > based on a series of commands, kdb will load up your dll(and/or lib I can't remember) and you can call the appropriate functions! > you can extend kdb to have your own operators! (which can be written in k, c, ![]() > the database (kdb) was written in (k) and is 10 to 100 times faster than Neither of those sites offered any useful information with which one might learn about, or be impressed by, k.Ĭan you offer a 1 paragraph motivating description of k? > customers.htm > the programming language (k) is similar to python, but it much much faster. ![]() > download/ download.htm > check out their customer list! > programming environment and it is bloody fast! (only about 200KB) > yes, you have to register to get the download but believe me it is a really Anyone here interested in k / kdb and being able to link with dmc? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |