-*- coding: utf-8 -*- BartholomewJS ​#10 - Foreign Function Interfaces (FFI) in programming languages Xah Lee ​morn b BartholomewJS ​Greetings. Xah Lee ​lol, knew nothing bout that BartholomewJS ​What? :O BartholomewJS ​This is one of my favourite things, when programming. Xah Lee ​that's dirty programing. 😃 Xah Lee ​how so, like what? BartholomewJS ​Like using an extremely optimized C library in your project. BartholomewJS ​Especially some calc heavy algorithm, eg. Xah Lee ​like python module that's written in c? BartholomewJS ​Don't say Python. 😵 BartholomewJS ​I think Julia has a good FFI, as far as I remember. BartholomewJS ​"Julia has foreign function interfaces for C/Fortran, C++, Python, R, Java, and many other languages." BartholomewJS ​From the Julia website. Xah Lee ​lol julia again. so u code julia? Seamus Slack ​@Xah Lee I'm down for some c programming BartholomewJS ​Not yet, still doing my own thing. But maybe end of this year or beginning of the next year I will jump into Julia. Xah Lee ​afaik, the only FFI i use is when coding in industry, you connect to databases. those lib are written in C. (while you code in perl, python, php, etc.) Xah Lee ​basically, FFI stuff are lower level stuff. ugly nitty gritty BartholomewJS ​Yes, that too.. BartholomewJS ​I don't like SQL, though. BartholomewJS ​Do you know Redis, etc.? Xah Lee ​no BartholomewJS ​Xah, please. BartholomewJS ​Y U NO Xah Lee ​lol Xah Lee ​am old and out of industry coding for long cool4skull ​Is the live broadcast every at 1pm pacific? Xah Lee ​know no any nosql BartholomewJS ​Jump in, you are the pro. Xah Lee ​@cool4skull currently , but bound to change Xah Lee ​i think i'll try to switch to something like 6am to 10am SF time. Iris García ​Hi @Xah Lee Xah Lee ​cuz that's actually the best time globally Xah Lee ​brb. preparing, and see you guys in vid.. cool4skull ​@Xah Lee do you provide advance notice in case the time changed Iris García ​it is 10 pm for me :( Welcome to live chat! Remember to guard your privacy and abide by our community guidelines. BartholomewJS ​Me too. cool4skull ​@Iris García , where are you? Iris García ​Spain BartholomewJS ​@cool4skull He tries but it is not always possible. cool4skull ​@Iris García, if @Xah Lee changes the time to 6am pacific, it'll be 2pm your time--which means you might be a work and miss the live session Iris García ​I can watch him while working xD cool4skull ​:) Iris García ​I work from home :) cool4skull ​even better Dan v ​Good luck with that! I mean working from home and watching Xah at the same time Seamus Slack ​@Iris García "what him while working" I need to get that kind of job. Do you mind sharing what you do? Iris García ​I am DevOps and got flexible hours Iris García ​I can chill for an hour and work after cool4skull ​@Iris García works for @Xah Lee cool4skull ​emacs ninjas BartholomewJS ​Wow, his echo controls his mind. Dan v ​from now on I'm gonna watch Xah with Damien Jurado playing on the background. It makes it much more epic. BartholomewJS ​FFI abdo esam ​lol BartholomewJS ​Golang fanboy. 😂 Iris García ​golang is awesome BartholomewJS ​I did some baby stuff with Julia, but nothing much really. BartholomewJS ​I like FFIs because it makes your language much more flexible. There is no "well, it isn't really possible to do in a specific way in your language..." because the FFI solves this problem. BartholomewJS ​E.g. some things are just made much better in other languages. BartholomewJS ​If you do statistics, why use BASIC or Python, when you have R? BartholomewJS ​But you don't want to write everything in R, as R is not your primary language. So you write only the needed code in R, and everything else in your primary language. BartholomewJS ​That is why I like FFIs so much. No need to be inflexible or write an entire program in a language you don't like/want/know. BartholomewJS ​Elon Musk, the guy who everyone calls genius just because he is rich af. He isn't even that smart. BartholomewJS ​Just look at those ridiculous scams like Hyperloop, flying cars and other tunnel crap. Any 8th grader with back of the envelope physics calculations can expose this crap as a scam. Seamus Slack ​@Xah Lee leaning a programming language is all about practice. You need to give the student a lot of opportunity to practice to get close to good. BartholomewJS ​@Seamus Slack ++ Dan v ​Doraemon? Seamus Slack ​@BartholomewJS Thanks. That how I leaned python3 and didn't learn ruby BartholomewJS ​Slice of Life Kathy H ​记忆面包! Dan v ​I used to love Doraemon as a child. Now my nieces love it too. Seamus Slack ​Magic bread AKA google or duckduckgo or bing or apple search .... BartholomewJS ​#XahRageModeON Seamus Slack ​@Xah Lee so you don't want to be given lessons, you want to have specific questions asked, right? Dan v ​That's true. when somebody is actually teaching you, and you get involved in that way, the learning tends to accelerate. BartholomewJS ​noon is fine BartholomewJS ​You don't need to account for local time, because locals can join you for real. Dan v ​Us Europeans are fine with late broadcasting! Justin Scarfy ​hey BartholomewJS ​Bieber is back. Dan v ​I'm not so sure about 3 pm, I'd say it's mostly evening Iris García ​@Xah Lee you are right about Spain most busy time, completely matches your theory Seamus Slack ​@Xah Lee No, from before, I was meaning when you were talking about getting tutoring from people on the internet. They offer you lessons, but it seems you what to be able to ask experts questions. BartholomewJS ​@Xah Lee I fully agree with your view on online magazines, beginner tutorials and clickbait, etc. Seamus Slack ​@Xah Lee The News is evil and it creates a socially acceptable history for people. It's history on the news not new things to know. BartholomewJS ​@Xah Lee Also fully agree on the idea of a human being a certain type of holisitc, in its own right. Seamus Slack ​@Xah Lee The big media corps are the aliens here to steal all of Earth water. Justin Scarfy ​can we do math with emacs / HoTT? BartholomewJS ​@Xah Lee Thanks for the compliment. If I was mainstream, I would kill myself immediately. 😁 Kathy H ​one-to-one mentorship is indeed efficient and effective to learn stuff. It is so rare though.. need lots of trust, or dedication BartholomewJS ​@Xah Lee You need to practice your English more targeted at success and more efficiently. This way it will improve your quality of life. Seamus Slack ​@Xah Lee I'm from NY, USA. BartholomewJS ​HoTT in Julia. BartholomewJS ​That Calcmod pronounciation, dough. BartholomewJS ​cringe Seamus Slack ​@Xah Lee more talking Seamus Slack ​@Xah Lee What makes a computer language symbolic? Seamus Slack ​@Xah Lee "if we go away", on line relationships are very transient. BartholomewJS ​👍 BartholomewJS ​It will improve your learning. BartholomewJS ​Because processing of this natural language will take less time and computation power. BartholomewJS ​Your "whaaat" is very Chinese. BartholomewJS ​I am talking about your brain. Kathy H ​yes you have chinese accent hahaha Kathy H ​but that won't matter at all, to me BartholomewJS ​Quawk BartholomewJS ​Jordan Peterson BartholomewJS ​Not Peter Jordanson. 😂😂 BartholomewJS ​Goodbye Kathy H ​thank you for the talk Xah Lee Say something... 0/200