QUOTE(flashang @ Jun 11 2022, 04:14 PM)
Looks like I misunderstand your meaning after reading Junyian reply. That is the bad thing about mixing private chat and forum chat.compiler optimization
compiler optimization
|
|
Jun 12 2022, 03:42 AM
Show posts by this member only | IPv6 | Post
#41
|
![]() ![]()
Validating
139 posts Joined: Jun 2022 |
QUOTE(flashang @ Jun 11 2022, 04:14 PM) Looks like I misunderstand your meaning after reading Junyian reply. That is the bad thing about mixing private chat and forum chat. flashang liked this post
|
|
|
|
|
|
Jun 12 2022, 11:47 AM
|
![]() ![]() ![]()
Junior Member
355 posts Joined: Aug 2021 |
QUOTE(FlierMate1 @ Jun 11 2022, 04:49 PM) I still using x86 machine for main activities, work, reading news, coding exercise, youtube, ... Well, i use the tool to complete my work, no personal feeling or emotional, neither love nor hate. We should aware that the situation is getting closer to us. I looked at all the "wifi ready devices" near me, even new tv are build in with android (yes, we could copy apk and install on some tv model) More people told me that they do not have budget for computer, but their new phone is more expensive than mid-range computer. People may ask how to do excel (spreadsheet) on their phone, but they don't install on their computer... I choose tool is based on : 1. have to (you have no other choice) 2. want to (you have better tool but want to try this) may be recent projects are more on cross-platform, to prevent confusing and bugs on different system, you have to choose higher level language, code once and run many. This post has been edited by flashang: Jun 12 2022, 12:14 PM |
|
|
Jun 12 2022, 12:10 PM
|
![]() ![]() ![]()
Junior Member
355 posts Joined: Aug 2021 |
QUOTE(FlierMate1 @ Jun 11 2022, 05:10 PM) I remind myself not to be boastful. The most powerful characteristic of asm / machine language should be direct control the cpu and hardware.In x86 asm message board, I (and a European) are the only one who create the first ever QR code generator (using Win32 asm) in the market, after several posts, one member there said to me, "QR code is obsolete, you should use Data matrix" where in fact it is not, QR code is used everywhere at the moment. Talking about x86 asm, @flashang said to me several times, "use ARM, use RISC, not x86....". I respect his choice, but it doesn't mean I (and the rest of FASM forum members) need to follow. But for x86 machine we could only do that on dos / bootloader. When i saw those soc board (e.g. raspberry pi), it show us we could unleashed full potential of asm. We could direct access to memory, hardware i/o, full control of everything. Sorry because using phone always type shortcut. |
|
|
Jun 12 2022, 12:37 PM
Show posts by this member only | IPv6 | Post
#44
|
![]() ![]()
Validating
139 posts Joined: Jun 2022 |
QUOTE(flashang @ Jun 12 2022, 12:10 PM) The most powerful characteristic of asm / machine language should be direct control the cpu and hardware. Come join us Assembly programming for Windows and Linux, it should be fun too, there are more than direct hardware control to enjoy. But for x86 machine we could only do that on dos / bootloader. When i saw those soc board (e.g. raspberry pi), it show us we could unleashed full potential of asm. We could direct access to memory, hardware i/o, full control of everything. Sorry because using phone always type shortcut. I felt the same after earlier version of Windows arrived, because Windows controlled everything, I thought it is no fun anymore like DOS. After learning i8086 Assembly, I had stopped for almost 20 years doing non-Assembly-language work (or 12 years doing non-IT jobs). But out of curiosity, I wanted to know, if in Windows cannot use direct video memory access to write characters on screen (like in DOS era, and in bootloader), what will it be using. From there I found out Win32 API & syscall. Modern OS still have direct hardware control, but user apps have to call the OS library functions. @flashang, it is still fun doing i386 Assembly (and x64) with Windows and Linux, there are many things to explore, like stack frame, single-precision or double-precision floating point, OS-independent & newer CPU instruction like POPCNT and RDRAND... CODE RDRAND is an instruction for returning random numbers from an Intel on-chip hardware. CODE POPCNT instruction calculates the number of bits set to 1 in the second operand (source) and returns the count in the first operand. I haven't mentioning about creating GUI using resource data (Windows), and manipulating graphics using OpenGL, gdi32 and DirectX.... I myself haven't explore them. I strongly suggest you should learn x86 and x64 Assembly programming as well, since you have solid foundation in i8086 Assembly, it should not be difficult for you to migrate to Windows and Linux low-level programming. |
|
|
Jun 12 2022, 07:31 PM
|
![]() ![]() ![]()
Junior Member
355 posts Joined: Aug 2021 |
QUOTE(FlierMate1 @ Jun 12 2022, 12:37 PM) Come join us Assembly programming for Windows and Linux, it should be fun too, there are more than direct hardware control to enjoy. From a person who "prefer to do everything in asm" to "prefer to use higher level language for everything",I felt the same after earlier version of Windows arrived, because Windows controlled everything, I thought it is no fun anymore like DOS. After learning i8086 Assembly, I had stopped for almost 20 years doing non-Assembly-language work (or 12 years doing non-IT jobs). But out of curiosity, I wanted to know, if in Windows cannot use direct video memory access to write characters on screen (like in DOS era, and in bootloader), what will it be using. From there I found out Win32 API & syscall. Modern OS still have direct hardware control, but user apps have to call the OS library functions. @flashang, it is still fun doing i386 Assembly (and x64) with Windows and Linux, there are many things to explore, like stack frame, single-precision or double-precision floating point, OS-independent & newer CPU instruction like POPCNT and RDRAND... CODE RDRAND is an instruction for returning random numbers from an Intel on-chip hardware. CODE POPCNT instruction calculates the number of bits set to 1 in the second operand (source) and returns the count in the first operand. I haven't mentioning about creating GUI using resource data (Windows), and manipulating graphics using OpenGL, gdi32 and DirectX.... I myself haven't explore them. I strongly suggest you should learn x86 and x64 Assembly programming as well, since you have solid foundation in i8086 Assembly, it should not be difficult for you to migrate to Windows and Linux low-level programming. because i choose to do app that could assist people, rather than chasing for high performance, specified technique on specified hardware. I am happy to develop a simple python app with few mb, but did not feel exciting anymore when look at those asm code. Because intel hold the cisc copyright, so other cpu maker could not add those fancy but seldom use instruction. To achieve these, you have to re-think algorithm, this also improve problem solving technique. Actually, i am waiting for arm/risc personal computer to mature. That's why i not sure what is my next computer os, or even cpu may not x86. You may also noticed that, at the beginning of this topic, i purposely select arm asm to explain. This post has been edited by flashang: Jun 12 2022, 07:43 PM |
|
|
Jun 12 2022, 08:00 PM
|
![]() ![]() ![]() ![]()
Junior Member
636 posts Joined: Jul 2006 |
QUOTE(flashang @ Jun 12 2022, 07:31 PM) Because intel hold the cisc copyright, so other cpu maker could not add those fancy but seldom use instruction. To achieve these, you have to re-think algorithm, this also improve problem solving technique. /me typing this on a AMD Zen3 machine. Also: what the heck you going about about ARM not mature yet for personal computer use? /me looks at the Apple M1. |
|
|
|
|
|
Jun 13 2022, 12:11 PM
|
![]() ![]() ![]()
Junior Member
355 posts Joined: Aug 2021 |
QUOTE(angch @ Jun 12 2022, 08:00 PM) /me typing this on a AMD Zen3 machine. Also: what the heck you going about about ARM not mature yet for personal computer use? /me looks at the Apple M1. After search some doc, we could build our own 8080 cpu after patent expired, but nobody will interested to buy it. Cisc chip are more complex, but the market response in unknown, so new chip are prefer to do with risc. How many bytes in code is less important than when we only have kb of ram. Ref: Intel and AMD have patent cross-license agreement. https://www.blopeur.com/2020/04/08/Intel-x8...ver-ending.html Intel seemingly hints of potential patent infringement around x86 emulation on ARM | ZDNet https://www.zdnet.com/article/intel-seeming...ulation-on-arm/ I have bad experience when using mac, most software, hotkey, os behavior are not expected. This make me intentionally ignore Apple M1 can be the possible choice. P/S : It's hard to change usage habit, find replacement software which might not have in different os. This post has been edited by flashang: Jun 13 2022, 12:12 PM |
|
|
Jun 13 2022, 01:02 PM
|
![]() ![]() ![]()
Junior Member
355 posts Joined: Aug 2021 |
Should we care what cpu we used ? May be, partially. Most people don't even notice their top range samsung phone is using Exynos or Snapdragon CPU. Most people only care the whole system (device) is low / mid / high range. As most people did not do low level coding, device driver, Even for arduino you use c/c++ and compiler convert to machine code for you. In fact, most people want a long battery life, lightweight, big screen, fast, and not so expensive computer. FlierMate1 liked this post
|
|
|
Jun 13 2022, 09:17 PM
|
![]() ![]() ![]() ![]()
Junior Member
636 posts Joined: Jul 2006 |
QUOTE(flashang @ Jun 13 2022, 12:11 PM) P/S : It's hard to change usage habit, find replacement software which might not have in different os. Ok, maybe not FreeBSD or Linux Desktop recently. flashang liked this post
|
|
|
Oct 20 2022, 04:31 AM
Show posts by this member only | IPv6 | Post
#50
|
![]()
Validating
17 posts Joined: Jul 2022 |
|
|
|
Oct 20 2022, 10:22 PM
|
![]() ![]() ![]()
Junior Member
355 posts Joined: Aug 2021 |
|
| Change to: | 0.0203sec
0.75
5 queries
GZIP Disabled
Time is now: 24th December 2025 - 04:55 PM |